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
VISA 16 digit
VISA 13 digit
JCB 15 digit
JCB 16 digit
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.