5 ms·
Subscribely: Create your subscription site using our boilerplate (Stripe-ready)
- yashchandra 14y agoThis is great. I am a Flask fan and was looking to build something like this. Will definitely try it out.
- marcamillion 14y agoWould love a Ruby version of this.
- pdenya 14y agoDefinitely. A rails version specifically would be helpful for me.
- marcamillion 14y agoAgreed.
- lost-theory 14y agoHave a look at thylacine: https://github.com/2tablespoons/thylacine https://github.com/2tablespoons/thylacine
- marcamillion 14y agoThis looks nice...but this focuses on single purchases. I need recurring, subscription stuff.
- lost-theory 14y agoIt 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/models/order.rb#L17 https://github.com/2tablespoons/Thylacine/blob/master/app/mo... Just change "Charge" to "Customer" and give it a plan ID instead of a price.
- marcamillion 14y agoBut 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.
- lost-theory 14y agoThat'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.
- yahelc 14y agoCould not be timed more perfectly. Was just about to start a subscription service for the API on http://sharedcount.com http://sharedcount.com Thanks for open sourcing this!
- bemmu 14y agoThanks 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.
- lost-theory 14y agoNeat. I built something similar, it's a Flask blueprint for doing stripe charges/subscriptions: https://bitbucket.org/lost_theory/flask-stripe-blueprint https://bitbucket.org/lost_theory/flask-stripe-blueprint It's meant to be integrated into an existing flask application (just override & instantiate the blueprint, then mount it on your app).