Re: [PHP] Credit card number checker?

2001-07-17 Thread John Monfort
> What companies issue card numbers that are not 16 numbers? Are > they non-US cards? I haven't ever seen a card that wasn't 16 numbers. A valid VISA card has between 13-16 digits. I believe AMERICAN EXPRESS only has 15 digits. -john __John Monfort_ _+

Re: [PHP] Credit card number checker?

2001-07-16 Thread Egan
On 16 Jul 2001 22:12:24 -, "Dr. Evil" <[EMAIL PROTECTED]> wrote: >I know that credit cards have standard formats: There's a standard >number of digits, and whether the card is Visa, MC, Amex, etc is >encoded in the number, and there is some kind of checksum, and I think >the expiration is als

Re: [PHP] Credit card number checker?

2001-07-16 Thread John Donagher
On 17 Jul 2001, Steve Sobol wrote: > From 'John Donagher': > >> accounts, and too many bogus cards would not look good. > >> > > > >My suggestion is to run an authorization for an extremely small amount of money > >($1.00 is fairly standard) and that will tell you if the account is valid or > >n

Re: [PHP] Credit card number checker?

2001-07-16 Thread Steve Sobol
>From 'John Donagher': >> accounts, and too many bogus cards would not look good. >> > >My suggestion is to run an authorization for an extremely small amount of money >($1.00 is fairly standard) and that will tell you if the account is valid or >not. Bad idea. Some software, in particular that

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
John Donagher pressed the little lettered thingies in this order... > > Note, I said authorization, not charge. An authorization is a form of sale > which is really a two-step process. The authorization places a hold on the > funds, and then a capture transaction is initiated which indicates tha

Re: [PHP] Credit card number checker?

2001-07-16 Thread Zak Greant
Christopher Ostmo wrote: > Dr. Evil pressed the little lettered thingies in this order... > > > > > I know that credit cards have standard formats: There's a standard > > number of digits, and whether the card is Visa, MC, Amex, etc is > > encoded in the number, and there is some kind of checksum,

Re: [PHP] Credit card number checker?

2001-07-16 Thread Ashley M. Kirchner
Christopher Ostmo wrote: > What companies issue card numbers that are not 16 numbers? Are > they non-US cards? I haven't ever seen a card that wasn't 16 numbers. The ones I care for when I do eCommerce apps: Visa: 13, or 16 digits MasterCard: 16 AmEx: 15 Di

Re: [PHP] Credit card number checker?

2001-07-16 Thread John Donagher
On Mon, 16 Jul 2001, Christopher Ostmo wrote: > John Donagher pressed the little lettered thingies in this order... > > > My suggestion is to run an authorization for an extremely small amount of > > money ($1.00 is fairly standard) and that will tell you if the account is > > valid or not. Doin

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
Ashley M. Kirchner pressed the little lettered thingies in this order... > Christopher Ostmo wrote: > > > By law, the numbers are supposed to be > > generated at random and not generated by any kind of algorithm or > > formula. > > CC# must pass the Luhn MOD 10 formula, so the generated num

Re: [PHP] Credit card number checker?

2001-07-16 Thread Nathan Cook
lidationSolution($Number) == TRUE) { echo "GOOD"; } else { echo "Bad card!"; } --- Good Luck! Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Dr. Evil" <[EMAIL PROTECTED]> To:

RE: [PHP] Credit card number checker?

2001-07-16 Thread Jerry Lake
PROTECTED]] Sent: Monday, July 16, 2001 4:49 PM To: John Donagher Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Credit card number checker? John Donagher pressed the little lettered thingies in this order... > My suggestion is to run an authorization for an extremely small amount of > money ($1

Re: [PHP] Credit card number checker?

2001-07-16 Thread Ashley M. Kirchner
"Dr. Evil" wrote: > I'm wondering if anyone can refer me to a site that describes what > this format is, so I can write some PHP code that will check to see if > a credit card number format is correct. I don't even want to try to > run the card through my merchant account if the format is obviou

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
Dr. Evil pressed the little lettered thingies in this order... > > Thanks for the tip, but... there is a checksum in the CC card, which > is worth checking. Some others have sent me some code that checks > that. Or is that no longer valid? > Actually, I saw that... and maybe I'm wrong. When

Re: [PHP] Credit card number checker?

2001-07-16 Thread Ashley M. Kirchner
Christopher Ostmo wrote: > > My suggestion is to run an authorization for an extremely small amount of > > money ($1.00 is fairly standard) and that will tell you if the account is > > valid or not. Doing validation yourself implies a fully-publicly-understood > > Maybe I am the only one, but I w

RE: [PHP] Credit card number checker?

2001-07-16 Thread Jeff Pearson
Fails%20MOD10%20Check." URL = "CCValidationFailed.asp?ErrorMSSG=" + ErrorMSSG Response.redirect URL END IF Hope it helps. Jeff Pearson > -Original Message----- > From: Dr. Evil [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 16, 2001 3:12 PM > To:

Re: [PHP] Credit card number checker?

2001-07-16 Thread Ashley M. Kirchner
Christopher Ostmo wrote: > By law, the numbers are supposed to be > generated at random and not generated by any kind of algorithm or > formula. CC# must pass the Luhn MOD 10 formula, so the generated numbers can't be (totally) random - they have to conform to the formula. Also, not all

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
John Donagher pressed the little lettered thingies in this order... > My suggestion is to run an authorization for an extremely small amount of > money ($1.00 is fairly standard) and that will tell you if the account is > valid or not. Doing validation yourself implies a fully-publicly-understood

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
Dr. Evil pressed the little lettered thingies in this order... > > I know that credit cards have standard formats: There's a standard > number of digits, and whether the card is Visa, MC, Amex, etc is > encoded in the number, and there is some kind of checksum, and I think the > expiration is al

Re: [PHP] Credit card number checker?

2001-07-16 Thread John Donagher
On 16 Jul 2001, Dr. Evil wrote: > > I'm wondering if anyone can refer me to a site that describes what > this format is, so I can write some PHP code that will check to see if > a credit card number format is correct. I don't even want to try to > run the card through my merchant account if the

[PHP] Credit card number checker?

2001-07-16 Thread Dr. Evil
I know that credit cards have standard formats: There's a standard number of digits, and whether the card is Visa, MC, Amex, etc is encoded in the number, and there is some kind of checksum, and I think the expiration is also encoded in the number. All of this is obvious stuff that anyone design