While in test mode, what test credit card numbers can I use?

Updated time: Jul 23, 2020 , 12:23 (UTC+03:00)

For test transactions, you can use one of the credit cards listed below. When prompted for an expiration date for the credit card, use any date in the future.

Do not use real credit card numbers.

Common sale tests

Number Merchant Notes/purpose
4111111111111111 Visa Sale successful.
5555555555554444 MasterCard Sale successful.
371449111020228 Amex Sale successful.

3-D Secure tests

Number Merchant Notes/purpose
4000000000000002 Visa Sale successful.
4000000000000028 Visa Card enrolled, verification failed.
5200000000000007 MasterCard Sale successful.
5200000000000023 MasterCard Card enrolled, verification failed.
340000000003961 Amex Sale successful.
340000000006022 Amex Card enrolled, verification failed.

Note: Specific errors are mapped to certain amounts in test mode. If you would like to test for a specific reason code/error, please refer to the appropriate testing information for your payment processor (your payment processor is determined by your merchant bank).

Also read: Payment gateway example

How can we help?

How can we help? All information entered on this form will be kept strictly confidential and subject to our privacy policy once received by us. Your transaction will be secured using SSL/TLS encryption.