Re: RFC: Credit card processing

From: Date: Sat, 13 Dec 2003 04:08:42 +0000
Subject: Re: RFC: Credit card processing
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24382@lists.php.net to get a copy of this message
On Friday 12 December 2003 06:36 pm, Mike wrote: > > I'm leaning towards a simple success/failure model, and you can call a > > function to get the exact error (which will vary from processor to > > processor). > > I am writing some classes for Validate at the moment and have found the > same, a true/false response is best. > Well, best until we can overload '=='. But not too much more code is required to check a class of a return. > You should also have a look at Validate (still in beta, so its only in > cvs http://cvs.php.net/cvs.php/pear/Validate) it has a routine > for > checking credit card numbers. You might want to incorporate this. > Yes, I'm alrady using it.

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