PHP Payment Library [closed]

ぐ巨炮叔叔 提交于 2020-02-18 13:57:10

问题


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


回答1:


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.




回答2:


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

There is a php port at github




回答3:


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



回答4:


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




回答5:


Kohana Payment Module supports all the following gateways:

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



回答6:


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



来源:https://stackoverflow.com/questions/1993814/php-payment-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!