e I will not call StrutsValidator
> then.
>
> Any help is greatly appreciated.
>
> Thanks,
>
> --Michael Marrotte
>
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 6:31 PM
> To: Struts Users Mailing
ist
Subject: Re: StrutsValidator.validateCreditCard() returns Long?
It was adapted from Perl and Javascript routines that use a "prime of
nines" checksum against the number.
It also looks to see if the prefix matches one of the usual vendors, and
that the length of the number matches wh
It was adapted from Perl and Javascript routines that use a "prime of
nines" checksum against the number.
It also looks to see if the prefix matches one of the usual vendors, and
that the length of the number matches what a given vendor expects.
I've run it against thousands of accounts in prod
According to the source and docs it returns a boolean. But, the link seems
to be broken in the latest docs for this method. Any help on how
validateCreditCard() decides what values to return is greatly appreciated.
Thanks,
--Michael Marrotte
4 matches
Mail list logo