Jeremy Zawodny: Lame Programmers and Credit-Card Numbers:
I once had the "pleasure" of writing an interface to a credit-card gateway. In order to be allowed to hook up to the live system, the interface had to pass a series of tests.Some programmers are so lame that they haven't figured out
how to strip spaces and dashes from input. Really.
One of the tests: the interface was _required_ to reject card numbers containing spaces, hyphens, indeed anything but numbers.
I phoned support to question this requirement, and was flatly told that there would be no negotiation entered into. Their reasoning was that they had some kind of fiduciary responsibility to make sure that whatever got typed in as the card number got sent verbatim to the bank. So I shrugged, and did what I was told.
This is stupid, of course. Most people read and write credit-card numbers as, say, four groups of four digits (or whatever the groupings are for Amex, JCB or Diners, I don't have examples handy). Forcing people to mash numbers together without grouping them makes it more likely that they'll enter the wrong number, not less.
That is why some serial number interfaces give you an interface that is four entry fields of four characters. You don't need to strip dashes or spaces and the interface still feels ergonomically correct to the user.
true..
I have seen interfaces done the other way it each card vendor is listed with its own unique version of numbers and dash requirements..
No tot mention the math checks to verify that its a valid cc number within the vendor range is vendor specific..and thus you need to to split out by vendor any way..to deal with those differences..
Well you can capture the number however you want to make things easiest for the user and hide the fact that its going compressed to the credit card gateway yourself. That's pretty straightforward to do in a servlet or JSP.
Gregory,
I think the point of his blog was that the CC company required that the original interface (i.e. the servlet or JSP) only allow input to be no dashed/no spaced, etc. That means you as a developer are restricted on what the user can do with your site.
American Express card numbers are 15 digits long, generally formatted in three groups of four, six, and five digits. Oddly enough, when you read the mag stripes, you find the Amex numbers formatted with spaces, whereas all the Visa and MC numbers I've seen are in solid blocks of 16 digits.
I would think the right way to design software would be (1) to allow the user to enter numbers with spaces, (2) show the number formatted according convention (as it appears embossed on the card), and (3) store it internally in some canonical form for easy comparison (probably as a solid block of digits).
Please send me Credit card Numbers List.I am Thankful to U.(Fake also)
Hello,
I needed a valid creditcard this week.so,i want to know all i have to do to get one.May God bless you as you to so.Thanks,
Maadonald.
NEED CREDIT CARD NUMBERS.................PLEASE!!!!!!!!!!!!!!!!!!
I may have been a bit dramatic with my last posting. Sorry! can i get some info on how to obtain cc #'s and if possible the cuv #'s. i am in my first Java programming course, and perhaps i am not all that great at it just yet.
I may have been a bit dramatic with my last posting. Sorry! Can I get some info on how to obtain cc #'s, and if possible the cuv #'s. I am in my first Java programming course, and perhaps I am not all that great at it just yet.
The only number you need for development purposes is:
4242 4242 4242 4242
Meanwhile, this thread (and all the requests for credit-card numbers that I subsequently deleted) is further proof that there are far too many stupid people on the Internet. I sincerely hope that none of them manage to breed.