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.
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.
12 comments
[ 4.7 ms ] story [ 42.6 ms ] threadhttps://github.com/2tablespoons/thylacine
https://github.com/2tablespoons/Thylacine/blob/master/app/mo...
Just change "Charge" to "Customer" and give it a plan ID instead of a price.
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.
Thanks for open sourcing this!
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.
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).