views:

315

answers:

4

Is there a simple PHP payment library that can handle multiple payment gateways? I don't mind processing the payment at the payment gateway website rather than on my site and don't want to store CC information in my site, but I want the flexibility choosing the gateway without changing the code (or little change).

A: 

I think what your looking for is an API for Paypal and similar sites.

wenbert
a PHP library that integrates the APIs
Kunpha
+1  A: 

Upon quick googling, http://www.phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/ looks like it might work.

dmitrig01
+1  A: 

Kohana Payment Module supports all the following gateways:

  • Authorize.net
  • Google Checkout
  • Moneybookers
  • Trident Gateway
  • TrustCommerce
  • YourPay.net
  • PayPal/Paypal Pro
Alix Axel