3 ms·
"Even better we were able to get rid of the 'select your card type' field since that was detected by Luhn." FYI: Card Type is not determined by Luhn algorithms
by FireBeyond 15y ago
"Even better we were able to get rid of the 'select your card type' field since that was detected by Luhn."
FYI: Card Type is not determined by Luhn algorithms, but rather (broad brush strokes, see http://en.wikipedia.org/wiki/Bank_card_number#Issuer_Identification_Number_.28IIN.29 http://en.wikipedia.org/wiki/Bank_card_number#Issuer_Identif... for more detail):
3 - American Express
4 - Visa
5 - Mastercard / Diners
6 - Discover