Re: StrutsValidator.validateCreditCard() returns Long?

2002-05-24 Thread Ted Husted
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

RE: StrutsValidator.validateCreditCard() returns Long?

2002-05-23 Thread Michael Marrotte
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

Re: StrutsValidator.validateCreditCard() returns Long?

2002-05-23 Thread Ted Husted
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