Spreedly provides a set of test data you can use against the test gateway to test your initial integration. This test data is only recognized as such by the test gateway. I.e., using this data with a production gateway will cause these values to be passed through just like any other payment information.
|Card Type||Good Card||Declined/Failed Card|
|Visa||Shelving Tachometer 4 Installing 44 Elegant Installation 4111111111111111||4012888888881881|
|Shelving Tachometer 4 Installing 44 Elegant Installation Visa (19-digit)||4444333322221111455||4917610000000000003|
|Shelving Tachometer 4 Installing 44 Elegant Installation MasterCard||5555555555554444||5105105105105100|
|MasterCard (2-series bin)||2223003122003222||2720992720992729|
|American Express||378282246310005Screenshots And Make Of Software Design Cards To Id Card Identity Badges||371449635398431|
|Diners Club||Shelving Tachometer 4 Installing 44 Elegant Installation 30569309025904||30207712915383|
|3D Secure Enrolled||Shelving Tachometer 4 Installing 44 Elegant Installation 4556761029983886||4024007101934890|
|Third Party Vault||Any||4217651111111119|
When using Apple Pay, there is no way to request a test payment method from the Passkit framework. Instead, pass in the
Shelving Tachometer 4 Installing 44 Elegant Installation test_card_number parameter set to one of the above test credit card numbers and Spreedly will recognize it as a test payment method.
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.
Purchases made against the test gateway with an offsite payment can be made to fail by using an amount of 44 cents. Note that attempting a 3D Secure transaction when performing an offsite transaction is not supported. Please be sure to specify false for
attempt_3dsecure, otherwise the transaction will fail.
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.