Quote:
Originally posted by EscortBiz
http://ja vascript.internet.com/forms/val-credit-card.html
Delete the space
Use that link to verify if a card can even be valid
|
interesting test... pretty well done too
basic rules
all Visa cards have 16 digits, older ones have 13 digits. they start with a 4. the next 3 are the BIN number and identify the issuing bank.
all MC have 16 digits and start with a 5
all Amex have 15 digits and start with a 3.
one problem with the test is the expiry date checker. an expiry date of 2020 on a visa is not possible.