Re: RFC: Credit card processing

From: Date: Sat, 13 Dec 2003 00:53:41 +0000
Subject: Re: RFC: Credit card processing
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24367@lists.php.net to get a copy of this message
Ian Eure wrote:
I wonder if having a class for the response would help at all... The data that each processor sends back is pretty different, and it might help to have a class just for handling mapping those results back to a standard. On the other hand, it might just be bloat.
I think having a standard response format would be nice. It allready happened to me that a client switched his payment company just before the site was ready for deployment. Having the possibilty to just switch 'backends' would be very nice. 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 xy -- Daniel Khan

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