12 comments

[ 4.7 ms ] story [ 42.6 ms ] thread
This is great. I am a Flask fan and was looking to build something like this. Will definitely try it out.
Would love a Ruby version of this.
Definitely. A rails version specifically would be helpful for me.
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.

Could not be timed more perfectly. Was just about to start a subscription service for the API on http://sharedcount.com

Thanks for open sourcing this!

Thanks for sharing, I can't believe all this time I wasn't aware templates have {% extends %} and {%block ...%}.

Compared to the Candy Japan codebase, this code is cleaner, but seems only to be the sign-up part? I wonder if you have some extra scripts you run when fulfillment day comes.