用于 PHP 中定期计费的库/插件/工具包

发布于 2024-12-17 13:10:57 字数 279 浏览 1 评论 0原文

我正在开发一个软件即服务网络应用程序,我需要实现的事情之一是自动定期计费。

我有三个设计目标:

  1. 使用真正的支付处理器(authorize.net 或类似的,而不是 paypal)。
  2. 能够按月收费,总费用可以每月变化(基于使用情况的计费)
  3. 不在我的服务器上存储信用卡或其他敏感的财务数据。我可以对其进行加密,但我宁愿将此类内容的保护交给第三方。

有没有一个 PHP 库可以为我完成大部分工作?资金紧张,但我们愿意为好的解决方案付出代价。

I'm developing a software as a service web app, and one of the things I need to implement is automatic recurring billing.

I have three design goals:

  1. Use a real payment processor (authorize.net or similar, not paypal).
  2. Be able to do monthly charges, with the total charge able to vary month by month (for usage based billing)
  3. Not store Credit Card or other sensitive financial data on my server. I could encrypt it, but I'd rather leave securing that sort of stuff to a third party.

Is there a PHP library that can do most of the work for me? Money is tight, but we are willing to pay for a good solution.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

静谧幽蓝 2024-12-24 13:10:57

花钱的不是 PHP 库。商家帐户/支付网关将向您收取费用。

如果您位于美国,您可以获得一个商家帐户并使用 Authorize.Net 作为您的支付网关。然后,您可以使用他们的客户信息管理器 (CIM) API 来处理您的定期计费。基本上,CIM 允许您存储信用卡信息(作为付款资料),然后您可以随时根据需要收取费用,并减少在此过程中的 PCI 合规性问题。

使用 CIM 的库是免费且随时可用的。 Authorize.Net 提供他们自己的 PHP SDK 并且还有其他免费解决方案(我提供 Authnet XML 免费且开源)。

It's not the PHP library that would cost you money. 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. Then you can use their Customer Information Manager (CIM) API to handle your recurring billing. 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.

Libraries for using CIM are free and readily available. 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文