
When your store is in test mode, you can use these test credit cards to simulate a successful transaction and make sure everything is running smoothly:
Card Number Card Type
4242424242424242 Visa
4012888888881881 Visa
4000056655665556 Visa (Debit)
5555555555554444 MasterCard
5200828282828210 MasterCard (Debit)
5105105105105100 MasterCard (Prepaid)
378282246310005 American Express
371449635398431 American Express
6011111111111117 Discover
6011000990139424 Discover
30569309025904 Diners Club
38520000023237 Diners Club
3530111333300000 JCB
3566002020360505 JCB
In addition, these cards will produce specific responses that are useful for testing different scenarios:
Card Number Resulting Error
4000000000000010 The charge will succeed but address_line1_check and address_zip_check will both fail.
4000000000000028 The charge will succeed but address_line1_check will fail.
4000000000000036 The charge will succeed but address_zip_check will fail.
4000000000000044 The charge will succeed but address_zip_check and address_line1_check will both be unavailable.
4000000000000101 The charge will succeed but cvc_check will fail if a CVC is entered.
4000000000000341 Attaching this card to a customer object will succeed, but attempts to charge will fail.
4000000000000002 Any charge with this card will always be declined with a card_declined code.
4000000000000127 The charge will be declined with an incorrect_cvc code.
4000000000000069 The charge will be declined with an expired_card code.
4000000000000119 The charge will be declined with a processing_error code.
