You are a designer, not a mathematician. -or- Dummy Credit Card Numbers for eStore Designers

Backend ecommerce testing is the fly, atop the frosting on your cake. It’s built. It’s beautiful. You love it. And you had better make sure all the shopping cart functions work before you hand your client the keys, eh.

Thank you Graham King

You don’t have to generate your own credit card numbers for testing purposes! You don’t have to install an e-commerce sandbox! You don’t have to whip out your wallet! Graham King has you covered with a whole variety of numbers that conform to Luhn (MOD 10 check) formula. Woo hoo!

Credit card numbers

Credit card numbers that conform to the Luhn formula (MOD 10 check). Usefull for testing e-commerce sites (because they should get past any pre-validation you do, and be declined at the card processor or bank stage).

In testing situations any expiry date within the next 3 years should work

Feedback forces me to clarify this: These are NOT valid credit card numbers. You can’t buy anything with these. They are random numbers that happen to conform to the MOD 10 algorithm. They are a technical resource for programmers – that’s all.
Information about CVV2 / CVC / etc numbers can be found here: CVV numbers. As you can see these would be very hard to calculate without the bank’s keys.

A very good article about the credit card number format can be found here: Anatomy of Credit Card Numbers

Mastercard

5221772517611659
5207006630639323
5114221047123330
530901968374 6686
5482597219642536
5367226590268121
5301074170606065
5305571574165354
51 55363771841545
5535640381045554

VISA 16 digit

4539186464659704
4532474948977182
4205892837741581
4532742559827395
4 024007120858690
4539171042784349
4768966453454163
4869323101780458
4556805 212880134
4532690914125908

VISA 13 digit

4485974153263
4024007199017
4929465099519
4532893469963
4485101247749

American Express

379852560595198
377435406608854
379239192753249
374321866363979
348 274208217481

Discover

6011717651083944
6011214285013430
6011355004385144

Diners Club

30035964377519
36048474084412
30127262127504

enRoute

201401449490876
20 1461556978006
214968485080105

JCB 15 digit

210059859724447
180009689642224
180087088024012

JCB 16 digit

3158436327296265
3088493102810625
3096250233669993

Voyager

8699193364 85892
869907714955206
869944801891515

As you can see below I get a lot of feedback about this page. Thanks to everyone who stops by to write a note, it is appreciated. Before you ask no I haven’t got anyone’s credit card details. Instead take a look at some of the amusing feedback I have received by e-mail.

Any correspondence from this site would be from an e-mail address @darkcoding.net. Anyone writing to you from a different address is NOT connected to this site, so be careful.

The original is here: Graham King ยป Credit card numbers.

About

A typographic, designological, visulicious extravaganza!

Posted in Mad Props, Repost From Cited Source, Technical Geekery, Vocation & Profession, Web