Tuesday, July 22, 2008

Sample valid credit card numbers

I often need to test my forms with credit card information, so here are some valid numbers for each type of card, although I doubt they will work in reality but they pass the Luhn Algorithm for my testing.

Visa
4111 1111 1111 1111

MasterCard
5500 0000 0000 0004

American Express
3400 0000 0000 009

Discover
6011 0000 0000 0004

2 comments:

Anonymous said...

hi

electronic signature Microsoft said...

Do you mean that these can be used for testing the dummy payments on development sites.As I am creating a drupal website so can I use them for shopping cart testing.