Re: RFC: Credit card processing

From: Date: Mon, 15 Dec 2003 21:39:06 +0000
Subject: Re: RFC: Credit card processing
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24449@lists.php.net to get a copy of this message
It would be extremely simple to implement a MOD10 check on the card before sending. If you need a function to do this, please let me know as I have existing code for PHP which does this. Jeremy On Mon, 2003-12-15 at 15:25, Justin Patrin wrote: > Ian Eure wrote: > > > On Monday 15 December 2003 11:30 am, Justin Patrin wrote: > > > >>Pierre-Alain Joye wrote: > >> > >>Again, it is not only a sanity check. Depending on your payemt processor > >>and your deal with them, it may cost you *per connection*, whether ot > >>not the CC is valid, declined, etc. It is a *very good idea* IMHO to > >>validate as much as you can before sending it off. > >> > > > > Fine, but validation still isn't the main purpose of the package; processing a > > payment is. > > True, just making my point. It's not imperative that the processing > package check it for us. In fact, the *glue* could do it before sending > the payment to the processor. > > -- > paperCrane <Justin Patrin>

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