[英]Library/Plugin/toolkit for recurring billing in PHP
I'm developing a software as a service web app, and one of the things I need to implement is automatic recurring billing. 我正在开发一个软件即服务的Web应用程序,我需要实现的功能之一是自动重复计费。
I have three design goals: 我有三个设计目标:
Is there a PHP library that can do most of the work for me? 是否有一个PHP库可以为我完成大部分工作? Money is tight, but we are willing to pay for a good solution. 资金紧张,但我们愿意为好的解决方案付费。
It's not the PHP library that would cost you money. 并不是您会花钱的PHP库。 It's the merchant account/payment gateway that will incur you fees. 这是商家帐户/付款网关,需要支付费用。
If you are based in the US you can get a merchant account and use Authorize.Net as your payment gateway. 如果您位于美国,则可以获取一个商家帐户,并使用Authorize.Net作为您的付款网关。 Then you can use their Customer Information Manager (CIM) API to handle your recurring billing. 然后,您可以使用他们的客户信息管理器(CIM)API来处理您的定期账单。 Basically CIM would allow you to store credit card information (as a payment profile) that you can then charge against whenever and for how much you want and reduce your PCI compliance issues in the process. 基本上,CIM允许您存储信用卡信息(作为付款资料),然后您可以随时根据需要收取多少费用,并在此过程中减少PCI合规性问题。
Libraries for using CIM are free and readily available. 使用CIM的库是免费的,并且随时可用。 Authorize.Net offers their own PHP SDK and there are other free solutions as well (I offer Authnet XML for free and is open source). Authorize.Net提供了自己的PHP SDK ,还有其他免费解决方案(我免费提供Authnet XML ,并且是开源的)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.