3 ms·
Having written two billing systems in the past year, I'll never build one again. There are certainly advantages to writing your own, we generate custom PDF rec
by pjhyett 17y ago
Having written two billing systems in the past year, I'll never build one again.
There are certainly advantages to writing your own, we generate custom PDF receipts at GitHub that customers really seem to like, but the amount of time wasted building and maintaining the system was/is fairly substantial.
If I were to do it again, I'd use a hosted service that you can skin to look like your site and let them manage everything.
- davidw 17y ago... such as ... ?
- 1gor 17y agohttp://www.foxycart.com/ http://www.foxycart.com/ I have not tried it, anyone has any experience with it? Unsuitable name for me, but they say you can run in on your own domain, and skin it to match your site.
- jotto 17y agoI too have had the same experience. Think about upgrading services (and appropriately provisioning services while billing correctly and adjusting the recurring billing), downgrading services, recurring billing for monthly payments, auditing all interactions with whatever payment API you're using, then retrying API calls when appropriate. It's getting to the point where most of the man hours in my project have been on the billing system.
- ntalbott 17y agoI'd strongly echo this - it's the reason I grabbed some co-founders and started Spreedly. After spending weeks building a billing system for a client and not being at all pleased with the result (bad API, insufficient budget, etc.) I knew there had to be a better way. Billing is the red-headed stepchild of an application, never getting as much time as it needs and simultaneously taking up more time than it should - indicators that point towards outsourcing it ASAP. I think Spreedly's the best option, but even if you don't go with us, please don't do it yourself!
- matticakes 17y agoif you don't mind my asking - what's involved in the process that generates the PDF's?
- pjhyett 17y agoWe use Prawn, read more about it here: http://github.com/blog/204-pdf-receipts http://github.com/blog/204-pdf-receipts. There's a code snippet in the comments that looks a lot like the code we use to generate the PDF.