PHP Payment Library [closed]

2019-03-19 03:37发布

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

6条回答
我只想做你的唯一
2楼-- · 2019-03-19 04:05

Kohana Payment Module supports all the following gateways:

  • Authorize.net
  • Google Checkout
  • Moneybookers
  • Trident Gateway
  • TrustCommerce
  • YourPay.net
  • PayPal/Paypal Pro
查看更多
【Aperson】
3楼-- · 2019-03-19 04:07

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

查看更多
乱世女痞
4楼-- · 2019-03-19 04:13

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.

查看更多
做个烂人
5楼-- · 2019-03-19 04:15

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
查看更多
Bombasti
6楼-- · 2019-03-19 04:22

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

There is a php port at github

查看更多
登录 后发表回答