简体   繁体   中英

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.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM