272 Comments Feedback forces me to clarify this: These are NOT valid credit card numbers.
A very good article about the credit card number format can be found here: Anatomy of Credit Card Numbers 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.
Test sites cost too, but they’re usually MUCH cheaper – since they don’t really have to bother banks and such – so you might get by with one or two cents a transaction – or a half-cent per – depending on the site. Depending on the site, it will either accept a limited range of valid card numbers, or (as the one I use does) any facially valid card is accepted. If you’re using a test site, it doesn’t give a damn.
Cards that are not facially valid send back a standard CARD_DENY [reason code] message so you can test negative-path too. Put in any CCC you wish, and give the purchaser any name you want.
Most credit card acceptance agencies also provide a “test” site that does everything but actually bill someone.
There you can see auth/post/settle transactions (as if they’d really happened) etc.
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.
Just wondering if you have picked numbers from a range than is not used by the cc companies and thus guaranteed to be invalid or if you’re just assuming that the chances of a random credit card number and a random expiry date matching up are as slim as to be virtually nil.