Question

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.

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top