471,092 Members | 1,050 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 software developers and data experts.

Determining Credit Card vs. Debit or Check Card

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?

Thanks,

-Bill
Nov 22 '05 #1
1 7705
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
Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by dries | last post: by
6 posts views Thread by Grant | last post: by
9 posts views Thread by nm | last post: by
6 posts views Thread by Chris Davoli | last post: by
1 post views Thread by anna cypher | last post: by
1 post views Thread by securedcardss | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.