开发者

PHP Payment Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_运维百科

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question

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).


I'd think I have to mention payum. That may look a bit complicated at a first glance but give it a try!

It has well thought design, solves many common payment related issues (storing and securing data, notifications, framework agnostic). Also it supports many payments out of the box (each shipped with a doc) and provide integration with all favorite frameworks.


You probably looking a library similar to Active Merchant for ruby.

There is a php port at github


This question might be old, but is still very relevant, and now, in 2013, the clear answer is:

OMNIPAY, #1 on GitHub: https://github.com/adrianmacneil/omnipay

Omnipay is professionally unit tested, available via composer and has an excellent structure. Easy to use, clean and highly professional. Offers payment gateways for

2Checkout
Authorize.Net AIM
Authorize.Net SIM
Buckaroo
CardSave
Dummy
eWAY Rapid 3.0
GoCardless
Manual
Migs 2-Party
Migs 3-Party
Mollie
Netaxept (BBS)
Netbanx
PayFast
Payflow Pro
PaymentExpress (DPS) PxPay
PaymentExpress (DPS) PxPost
PayPal Express Checkout
PayPal Payments Pro
Pin Payments
Sage Pay Direct
Sage Pay Server
SecurePay Direct Post
Stripe
WorldPay


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


Kohana Payment Module supports all the following gateways:

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜