What do I do about recurring billing?

Posted by phidah on Stack Overflow See other posts from Stack Overflow or by phidah
Published on 2010-04-30T20:00:43Z Indexed on 2010/04/30 20:07 UTC
Read the original article Hit count: 555

Filed under:
|
|
|
|

This might be a subjective question, but I'll give it a go.

There are already a number of questions on SO that revolves around subscription billing management. I am currently working on a SaaS solution that will require a fully automated billing system.

What I am not looking for when asking this question is not advice on implementing towards a specific payment gateway or stuff like that. Instead I'd like advice on what kind of approach to take.

The functionality that I need is a system that can handle upgrades, downgrades, recurring billing, cancellations, etc. Initially for one product only, but it might over time be a requirement that the system can handle multiple products (by products I mean fundamentally different products, not different variations of the same product).

As I see it there are a number of possible approaches when you need a solution like this:

  1. Code a billing server yourself that supports this and is decoupled from each product so that it can handle multiple independent products.
  2. Use a hosted solution like Recurly, Chargify, Spreedly or CheddarGetter.

The advantage of using a hosted solution is obviously that you don't need PCI certification, the concern is outsourced and it is a lot faster to get up and running. These advantages come at a cost however: The most important support function for your product - i.e. the billing is not in your control. Additionally you have less control and flexibility.

What would you do? If we look beyond the PCI requirements I would definately prefer to have a system coded in-house that could do this kind of job. On the other hand I've heard from numerous sources that coding a system like this is a pain.

Any advice is highly appreciated. Also, if you advice to code it yourself, any experiences on how to do it or if there are any opensource projects (no matter the language, what I'm after is not the code but the structure) that I can benefit from would really mean alot.

Thanks in advance for your inputs! :-)

© Stack Overflow or respective owner

Related posts about billing

Related posts about payment