Re: RFC: Credit card processing

From: Date: Sat, 13 Dec 2003 01:29:15 +0000
Subject: Re: RFC: Credit card processing
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24371@lists.php.net to get a copy of this message
On Friday 12 December 2003 05:23 pm, Justin Patrin wrote: > >>AFAIK the different responses the diferent payment gateways return all > >>point back to either: > >> > >>- card data invalid > >>- card not chargeable > >>- charging deferred > >>- card charged with transaction id > > Problem with processor might also be nice, although I suppose it goes > along with "Card not chargable". Maybe two cases like this: > > - card not chargable (card or bank problem) > - card not chargable (gateway problem) (like connection issues, protocol > problems, etc.) > 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). Everyone OK with that?

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