Click here to Skip to main content
15,884,472 members
Articles / Web Development / ASP.NET
Tip/Trick

Test Credit Card Account Numbers

Rate me:
Please Sign up or sign in to vote.
4.86/5 (4 votes)
13 Sep 2011CPOL 71.9K   26  
some credit card numbers for testing purposes.

This post lists a few credit card numbers that you can use for testing.

While testing, use only the credit card numbers listed here. Other numbers might show an error.

Expiration Date must be a valid date in the future (use the mmyy format).

Test Credit Card Account Numbers - Paypal




Credit Card Type

Credit Card Number

American Express

378282246310005

American Express

371449635398431

American Express Corporate

378734493671000

Australian BankCard

5610591081018250

Diners Club

30569309025904

Diners Club

38520000023237

Discover

6011111111111117

Discover

6011000990139424

JCB

3530111333300000

JCB

3566002020360505

MasterCard

5555555555554444

MasterCard

5105105105105100

Visa

4111111111111111

Visa

4012888888881881

Visa

4222222222222

Note: Even though this number has a different character count than the other test numbers, it is a correct and functional number.

Processor-specific Cards

Dankort (PBS)

76009244561

Dankort (PBS)

5019717010103742

Switch/Solo (Paymentech)

6331101999990016

Test Credit Card Account Numbers - Authorize.Net





Credit Card Type

Credit Card Number

American Express

370000000000002

Discover Test Card 6011000000000012
Visa Test Card 4007000000027
Second Visa Test Card 4012888818888
JCB 3088000000000017
Diners Club/ Carte Blanche 38000000000006
MasterCard 5555555555554444
MasterCard 5105105105105100

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions

 
-- There are no messages in this forum --