Test Credit Cards & Payment Testing


Payment Transaction Testing

The Subscribe Pro Payment Vault generally can't be connected to sandbox or test mode payment gateway accounts. The exception to this is when the sandbox/test mode gateway account uses the same set or type of credentials as it's corresponding production gateway account.

To test payment transactions with the Subscribe Pro Payment Vault, configure a Test Gateway (no credentials needed) for your Subscribe Pro Environment and use the test credit cards below. To configure a Test Gateway:

  1. Navigate to System > Payment Gateway Accounts and create a new payment gateway account.
  2. Choose Test Gateway as the gateway type.
  3. Enter a name for your new gateway account.
  4. Save the new gateway account. NOTE: There is no need to enter credentials for a test gateway.
  5. Navigate to System > Configuration. Choose the Payment Settings tab.
  6. Select the newly created test gateway. Save your configuration settings.

Test Credit Cards

This payment information only has special meaning when used with a Test Gateway type gateway; if you use it with a regular gateway it'll be passed through just like any other payment information would be.

When using the test credit cards below, enter any 3 or 4 digits as the CVV code (depending on card type) and enter any expiration date that has not already passed.

The card numbers in the Good Card column will allow successful payment transactions. The card numbers in the Decline/Failed Card column will cause failed transactions.

Card TypeGood CardDeclined/Failed CardCVV Code
Visa41111111111111104012888888881880Any 3 Digits
MasterCard55555555555544405105105105105100Any 3 Digits
American Express378282246310005371449635398431Any 4 Digits
Discover60111111111111106011000990139420Any 3 Digits
Diners Club3056930902590430207712915383Any 3 Digits
JCB35699900100304003528327757705970Any 3 Digits
Dankort50197170101037405019994000124030Any 3 Digits
3D Secure Enrolled45567610299838804024007101934890Any 3 Digits
Third Party VaultAny4217651111111110Any 3 Digits

Capture / Credit - 44 Cents Transactions

On the test gateway, both the capture operation and the credit operation always succeed unless you use an amount of 44 cents. The test gateway knows that amount and returns a failure in that case to allow you to test your handling of capture and credit failures.

Bank accounts

Test Routing Number: 021000021

All other routing numbers will be considered non-test payment methods

Good Test Account Number: 9876543210

This only works with the test routing number above; all other account numbers will generate a failure when used with the test routing number.

Payment Gateway Sandbox Accounts

Sometimes we’re asked about using the test environment at a particular gateway. We can certainly understand the request; as a customer, you want to know that a given gateway will work in production. And a typical approach is to run some tests against a sandbox account to make sure everything is kosher. One of the main difficulties though is that for many gateways, the sandbox account behaves quite differently from the real production account. We have found over the years that gateway sandbox accounts can give one a false sense of security.

The real goal is to know your integration is working with the real production account, not a gateway’s sandbox account. We see this as one of the primary goals of our business. It’s part of the work we do so that you don’t need to write tests for each of the gateways we support. Our goal is for you to test against our Test Gateway and then know that the code you’ve written should work with any of the production gateways we support.