Hacker News new | ask | show | jobs
by lost-theory 5099 days ago
Have a look at thylacine:

https://github.com/2tablespoons/thylacine

1 comments

This looks nice...but this focuses on single purchases. I need recurring, subscription stuff.
It uses stripe, so to switch from a single purchase to a recurring payment you basically need to change one line of code:

https://github.com/2tablespoons/Thylacine/blob/master/app/mo...

Just change "Charge" to "Customer" and give it a plan ID instead of a price.

But then what manages the plans? Where is the rake task that checks all the subscriptions daily to look for expirations and take action? Where is the functionality for recurring subscriptions? I don't see that anywhere in here.
That's probably true, it doesn't have all those features. I guess you'll have to wait around for someone to add them :)

edit: stripe's admin interface does some of what you're asking for (recurring subscriptions), sign up and check it out if you haven't already.