On Fri, 18 Nov 2005 06:13:29 -0500, "Bill D'Innocenzo"
<bill@<*>NO_SPAM<*>dinnocenzo.com> wrote:
There are many functions available that implement credit card identification
and number validation -- meaning you can decide, based on the number, if a
card is a MasterCard or Visa and if the number passes the Luhn Formula or
MOD 10 algorithm for the checksum. What I'm looking for however is the
scheme to determine is a card is a check or debit card versus a credit card.
Anyone know if this can be done by examining the account number pattern?
I have been doing that since 1990
- but have delegated the responsibility to the clients
DINERSLOCAL:3###-###006-####=####
DINERS:3##-####-####-###=####
VISA:4580-####-####-####=####
VISA:4###-###-###-###=####
VISA:4###-####-####-####=####
VISA:3###-####-####-####=####
EURO/MASTER:51##-####-####-####=####
EURO/MASTER:52##-####-####-####=####
EURO/MASTER:5326-1###-####-####=####
EURO/MASTER:53##-####-####-####=####
EURO/MASTER:54##-####-####-####=####
EURO/MASTER:55##-####-####-####=####
ISRACARD:2-0###-####=####
ISRACARD:#-####-####=####
AMEX:37#-####-####-####=####
AMEX:34#-####-####-####=####
There are rules, there is even some sort of primary validation system,
but there is a lot to be said for a visual reprensation