Re: Mod 10 for Payment package?

From: Date: Tue, 16 Sep 2003 14:37:01 +0000
Subject: Re: Mod 10 for Payment package?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21576@lists.php.net to get a copy of this message
On 16 Sep 2003 at 10:35, Joe Stump wrote: > I've noticed the Payment package has all sorts of > transaction/verification options, but doesn't include the more simple > Mod 10 algorithm. Is anyone working on this? Would this be a good idea > for a package? > > The company I work for does verification offline and charges the > credit card manually so we use Mod 10 for initial web verification. > I'd be willing to program and submit the class if the community thinks > it's worthwhile. Generally agreed for adding this. But there is Validate_Finance in CVS (and if Pierre finds the time for a new release of Validate it's also "out in the wilds"). So maybe such checking-algorithms should also go into Validate_Payment? I've previously agreed with Pierre that I volunteer to coordinate the Finance-part. Afaik there hasn't been a real decision on this - but if you'd contribute a credit-card- validation you might send me a patch against latest CVS and I'll commit it to Validate_Finance. Please note that there is also a check for Validate::creditCard(). Maybe this is a bit to simplistic and could be further improved if you're about to implement a larger / better algorithm? The discussion has been on the list before (with Validate_Finance_IBAN) that this belongs in Validate because it doesn't have to do anything with actual payments (like cybercash, HBCI or something). Stefan

« previous php.pear.dev (#21576) next »