This is the old MovableType blog. To enter the new blog visit the home page.
March 26, 2007E-commerce > Credit Card Checksum ValidationThis is a very good explanation of credit card checksums. Credit card numbers aren't serial numbers. You can't just change one number on your card and get a valid credit card number. Shopping cart software can run a checksum on your card number to see if it's a valid number. That way it can reject a mis-typed credit card number without communicating with the credit card company's computers. That doesn't prove the credit card account is valid - it just proves that the credit card number is plausible. A single mis-typed or transposed numbers will result in an invalid card number which most shopping carts will reject instantly. (If you make two mistakes, it's possible they'll cancel each other out and result in a plausible number that passes a checksum. Not likely, but possible.) This is a nice summary of the lengths and initial digits of major credit cards.
Using those characteristics, Some shopping carts (Google Checkout is one) can automatically set your credit card type when you enter your card number. A legitimate Visa number that's easy to remember is 4111 1111 1111 1111. When we set up our credit card merchant account that's the number they gave us to use for testing. The credit card company would give a successful response to our shopping cart for purchases made with that card number, but wouldn't actually process the charges. Here's an online credit card number validator with examples of valid numbers, and here's a JavaScript credit card validator. Posted by lesjones | TrackBackComments
|
Search
Sponsors
Archives
Every post A&E - (222) Best Of - (57) Blogging - (274) Comic Books - (41) Dancing Baloney - (30) Dear Lazyweb - (21) E-commerce - (172) East Tennessee - (328) Economics - (96) Environment - (88) European Union - (38) Everything's Illegal - (5) Family Tree - Jones Side - (1) Family Tree - Moore Side - (7) Food & Drink - (82) Funny Ha-Ha - (173) Guns - (408) Guns and Cameras - (2) Health Care - (47) Holidays - (23) Home Life - (293) Johnia Berry - (53) Macular Degeneration - (11) Media Behaving Badly - (71) Middle East - (48) Misc - (117) Mortgage Crisis - (13) Municipal Wi-Fi - (19) News - (309) Nifty - (94) Photos - (87) Political Survival Kit - (25) Politics - (85) Polls - (22) Population - (36) PSAs - (11) Quotes - (229) Rocky Top Brigade - (38) Science - (129) Scratch Pad - (5) Seventies - (3) Social Security - (11) Star Wars - (55) Tech - (131) The Usual Suspects - (15) Timothy Treadwell - (6) Travel - (61) True Crime - (71) Word of the Day - (133) |