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:
- Navigate to System > Payment Gateway Accounts and create a new payment gateway account.
- Choose Test Gateway as the gateway type.
- Enter a name for your new gateway account.
- Save the new gateway account. NOTE: There is no need to enter credentials for a test gateway.
- Navigate to System > Configuration. Choose the Payment Settings tab.
- Select the newly created test gateway. Save your configuration settings.
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 Type||Good Card||Declined/Failed Card||CVV Code|
|Visa||Any 3 Digits|
|MasterCard||Any 3 Digits|
|American Express||Any 4 Digits|
|Discover||Any 3 Digits|
|Diners Club||Any 3 Digits|
|JCB||Any 3 Digits|
|Dankort||Any 3 Digits|
|3D Secure Enrolled||Any 3 Digits|
|Third Party Vault||Any||Any 3 Digits|
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.
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.
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.