Are you building a shopping website? You will need fake credit card numbers for your testing. I have compiled a list of test credit cards for the eCommerce testing purposes.
Photo from pixabay by Republica
Website such as Shopify, Squarespace, Wix, WordPress all provides an easy method to a non-technical person to create an online store that accepts credit card payments.
If you are building a website that collects payment then you will need fake credit cards to test. For such testing, don?t use your real created card numbers, instead use the fake credit card numbers listed on this page.
You will find an option such as ?Sandbox?, ?Test Mode? to enable the testing. Paypal, simplify calls it ?Sandbox? while Squarespace refers to it as ?Test Mode?.
Quick & Simple Answer
If you are in a rush and need a quick answer then just use the following number and you should be good.
Master Card Number: 5555 5555 5555 4444, Exp: 1230, CVV: 123
Visa card number: 4111111111111111, Exp: 1230, CVV: 123
If you are like chit chat then hang around for a long list of fake credit card numbers information.
Note on expiration date & CVV code
The expiration date for all the test credit cards listed below is a valid date in the future (use the mmyy format). CVV code when applicable is 123 or a random three digits number.
Visa
- 4111111111111111
- 4242424242424242
- 4012888888881881
- 4263982640269299
- 4917484589897107
- 4000056655665556 (debit)
- 4222222222222Even though this number has a different character count than the other test numbers, it is the correct and functional number.
Remember, CVV number is 123, or any random number and expiration date must be a valid date in the future (use the mmyy format).
MasterCard
- 5555555555554444
- 5105105105105100
- 5425233430109903
- 2222420000001113
- 2223000048410010
- 2222405343248877
- 2222990905257051
- 2223007648726984
- 2223577120017656
- 5111010030175156
- 5185540810000019
- 5200828282828210
- 5204230080000017
- 5204740009900014
- 5420923878724339
- 5455330760000018
- 5506900490000436
- 5506900490000444
- 5506900510000234
- 5506920809243667
- 5506922400634930
- 5506927427317625
- 5553042241984105
- 5555553753048194
- 5200828282828210 (debit)
- 5105105105105100 (prepaid)
- 2223003122003222 (2-series)
American Express
- 378282246310005
- 371449635398431
- 374245455400126
- 378734493671000 (American Express Corporate)
Australian BankCard
- 5610591081018250
Diners Club
- 30569309025904
- 38520000023237
- 36227206271667 (14 digit card)
Discover
- 6011111111111117
- 6011000991300009
- 6011000990139424
- 60115564485789458
JCB
- 3530111333300000
- 3566002020360505
- 3566000020000410
Dankort (PBS)
- 76009244561
- 5019717010103742
Switch/Solo (Paymentech)
- 6331101999990016
Visa international test card numbers
You can use any of the following test cards with an international billing address.
- 4000000360000000 ? Australia (AU)
- 4000000400000000 ? Austria (AT)
- 4000000560000000 ? Belgium (BE)
- 4000000760000002 ? Brazil (CR)
- 4000001000000000 ? Bulgaria (BG)
- 4000001240000000 ? Canada (CA)
- 4000001560000000 ? China (CN)
- 4000002030000000 ? Czech Republic (CZ)
- 4000002080000000 ? Denmark (DK)
- 4000002330000000 ? Estonia (EE)
- 4000002460000000 ? Finland (FI)
- 4000002500000000 ? France (FR)
- 4000002760000010 ? Germany (DE)
- 4000003000000030 ? Greece (GR)
- 4000003440000000 ? Hong Kong (HK)
- 4000003560000000 ? India (IN)
- 4000003720000000 ? Ireland (IE)
- 4000003800000000 ? Italy (IT)
- 4000003920000000 ? Japan (JP)
- 3530111333300000 ? Japan (JP)
- 4000004280000000 ? Latvia (LV)
- 4000004400000000 ? Lithuania (LT)
- 4000004420000000 ? Luxembourg (LU)
- 4000004580000000 ? Malaysia (MY)
- 4000004840008001 ? Mexico (MX)
- 4000005280000000 ? Netherlands (NL)
- 4000005540000000 ? New Zealand (NZ)
- 4000005780000000 ? Norway (NO)
- 4000006160000000 ? Poland (PL)
- 4000006200000000 ? Portugal (PT)
- 4000006420000000 ? Romania (RO)
- 4000006430000000 ? Russian Federation (RU)
- 4000007020000000 ? Singapore (SG)
- 4000007240000000 ? Spain (ES)
- 4000007520000000 ? Sweden (SE)
- 4000007560000000 ? Switzerland (CH)
- 4000008260000000 ? United Kingdom (GB)
- 4000058260000000 ? United Kingdom (GB)
References
I used the following websites to collect this information.
- https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm
- https://www.simplify.com/commerce/docs/testing/test-card-numbers
- https://stripe.com/docs/testing
- https://developers.bluesnap.com/docs/test-credit-cards
Hope this list will be useful to you. Please let me know if any of these cards are not working and I will update this list.