What is Invalid TXN and How to Resolve it?

After following the steps on how to integrate MOTO payments , you might have tested it out  however the payment does not go through successfully. The transaction displays the error as “DECLINED” where the code error is “N:12″Invalid TXN”.

TXN is short for transaction, and this is the common error code when the issuing bank does not accept a transaction. For this example, I used MasterCard for testing:

If you check the order notes it displays more information about the declined order, like so:

While testing, this happens often when you are not using the correct test card number for the payment gateway, please ensure that you are using the test cards for the specific payment gateway you are testing. For FirstData Connect, be sure to refer to this article – Testing and test cards

Don’t hesitate to let our support team know if ever you need further assistance after testing this recommendation and we’ll be glad to help.

Was this helpful?