RE: [PHP] Credit card checks?

From: Date: Tue, 23 Jul 2002 19:01:26 +0000
Subject: RE: [PHP] Credit card checks?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109129@lists.php.net to get a copy of this message
This may help with the specific formats. (And how to calculate the check digit yourself to verify) http://www.beachnet.com/~hstiles/cardtype.html Jaime Bozza -----Original Message----- From: Kristopher Yates [mailto:kris@2binteractive.com] Sent: Tuesday, July 23, 2002 1:42 PM To: php-general@lists.php.net Subject: Re: [PHP] Credit card checks? You should contact Visa International Service Association to determine what constitues a "valid" credit card number. Just FYI, a valid format is 16 digits; aaaa-bbbb-cccc-dddd. I believe VISA normally begins with "41" as the first two digits, however, I am not a Visa Int. agent but I am a client. Ultimately, you would need a merchant account to verify its validity, AFTER you have verified its format for accuracy. HTH Kris Jas wrote: >Yeah, I have looked at that class file and I don't want someone elses >example to use, I want to build my own but have no way of knowing what makes >up a valid visa number etc.... >Jas > >"Richard Baskett" <php@baskettcase.com> wrote in message >news:B962EBBF.C22F%php@baskettcase.com... > > >>Try this: >> >>http://www.AnalysisAndSolutions.com/code/ccvs-ph.htm >> >>Rick >> >>A sense of humor can help you over look the unattractive, tolerate the >>unpleasant, cope with the unexpected, and smile through the unbearable. - >>Moshe Waldoks >> >> >> >>>From: "Jas" <jlgerfen@hotmail.com> >>>Date: Tue, 23 Jul 2002 12:09:48 -0600 >>>To: php-general@lists.php.net >>>Subject: [PHP] Credit card checks? >>> >>>Just wondering if anyone has come across the need to develop a class to >>> >>> >test > > >>>a string of numbers based on a credit card type. If you have where >>> >>> >would I > > >>>be able to get information on what string of numbers is consistent with >>> >>> >each > > >>>of the different credit cards? Any help would be appreciated! >>>Jas >>> >>> >>> >>>-- >>>PHP General Mailing List (http://www.php.net/) >>>To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >>> > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#109129) next »