Lee,

Thanks.  I've come across similar tables.  Trouble is each of them contains
one or two more prefixes than the last one.  For example, I've also seen the
prefix 38 listed for Diners Club.  Obviously prefixes are being added,
albeit slowly, as needed.  If I'd relied on the first table I came across,
published maybe two or three years ago (Who knows when - it was on some
developer's website without a date), then I might be rejecting cards that
were issued in the last couple of years.

I've got the Luhn mod-10 checksum algorithm implemented in both JavaScript
and CFScript.  I've also come across mention of a "check digit" (rightmost
digit) and another algorithm to do a checksum against this digit.  Perhaps
it's just an alternative way of doing the mod-10 checksum.  I haven't
examined it that closely.

What I'm really looking for is a more authoritative source for this
information.

Jim


----- Original Message -----
From: "Lee Fuller" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 9:35 PM
Subject: RE: Credit Card Validation


> Actually, here's even more info...
>
>
>
> *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
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to