> 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_
_+
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
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
>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
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
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,
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
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
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
lidationSolution($Number) == TRUE) {
echo "GOOD";
} else {
echo "Bad card!";
}
---
Good Luck!
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Dr. Evil" <[EMAIL PROTECTED]>
To:
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
"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
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
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
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:
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
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
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
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
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
20 matches
Mail list logo