What I hate about the Internet is...having to select my credit card type
In case if you didn't know, you can determine the type of credit card, i.e., Visa, Master Card, Amex, and etc. by looking at the number you enter. The prefix and width (including spaces) for the major credit card types are:
CARD TYPES............PREFIX................WIDTH
American Express.....34, 37....................15
Diners Club..............300 to 305, 36........14
Carte Blanche...........38..........................14
Discover...................6011.......................16
EnRoute...................2014, 2149.............15
JCB..........................3............................16
JCB..........................2131, 1800..............15
Master Card.............51 to 55..................16
Visa..........................4...........................13, 16
Therefore, it stands to reason that by looking at the prefix of a credit card, you can derive the type of the card. And finally, as a programmer, I know that Verisign does not require you to send in the type, only the number itself and a few other bits of information.
CARD TYPES............PREFIX................WIDTH
American Express.....34, 37....................15
Diners Club..............300 to 305, 36........14
Carte Blanche...........38..........................14
Discover...................6011.......................16
EnRoute...................2014, 2149.............15
JCB..........................3............................16
JCB..........................2131, 1800..............15
Master Card.............51 to 55..................16
Visa..........................4...........................13, 16
Therefore, it stands to reason that by looking at the prefix of a credit card, you can derive the type of the card. And finally, as a programmer, I know that Verisign does not require you to send in the type, only the number itself and a few other bits of information.
Labels: Annoyances, Computers, Internet, Philosophy, Software, WTF
