Test Your Authorize.net Payment Gateway
  • 12 Mar 2024
  • 1 Minute to read
  • Dark
    Light

Test Your Authorize.net Payment Gateway

  • Dark
    Light

Article summary

The next step is to test your Payment Gateway using either the test Authorize.net card or the test Authorize.net ACH bank account.

Test an Authorize.net Card

Warning
Actual card and bank account information cannot be used in Test Mode.
  1. Confirm that the Payment Gateway has Test Mode set to “TRUE”.TestAuthNet_Card_1
  2. Go to the Payment Method tab and click New.
  3. Select Card and click Next.TestAuthNet_Card_2
  4. Using the information provided below, complete the following fields.
    1. Holder’s Name = use any name
    2. Number = “4111111111111111”
    3. Expiration Month = use any month
    4. Expiration Year = use any year
    5. CVV = use any 3-digit number
    6. Postal Code = use any 5-digit number
    7. Payment Gateway = the Payment Gateway you just set up
  5. Click Save.

TestAuthNet_Card_3

This Payment Method is now valid and can be used to capture and refund Transactions.

For more information about testing Authorize.net Payment Gateways, click here.

NOTE: Additional card numbers can be found in Authorize.net's testing documentation.

Test an Authorize.net ACH Bank Account

Warning
Real card and bank account information cannot be used in Test Mode.
  1. Confirm that the Payment Gateway has Test Mode set to “TRUE”.TestAuthNet_ACH_1
  2. Go to the Payment Method tab and click New.
  3. Select ACH and click Next.TestAuthNet_ACH_2
  4. Using the information provided below, complete the following fields.
    1. Holder’s Name = use any name
    2. Account Number = “000123456789”
    3. Routing Number = “122105812”
    4. Account Holder Type = either option
    5. Currency ISO = “USD”
    6. Country ISO = “US”
  5. Click Save.

This Payment Method is now valid and can be used to capture and refund Transactions.

NOTE: For testing purposes, eCheck.Net transactions under $100 will be accepted. To generate a decline, submit a Transaction over $100. A monthly limit of $5000 is also configured in the sandbox. If you exceed this amount, your eCheck Transactions will fail with a "This transaction has been declined." error message.

Test for Specific Responses and Errors

Cards

Create a Payment Method using the following postal codes to generate a declined Transaction.

* Postal Code = "46282" - This Transaction will be declined.

* Postal Code = "46205" - The Transaction will be declined because of an AVS mismatch. The address provided does not match the cardholder's billing address.

ACH

To generate a decline using an ACH bank account, submit a Transaction over $100.

Duplicate Payment Methods

Create two Payment Methods with the same name and email address to generate "A duplicate record with ID [auth.net id] already exists error" for the second Payment Method.