60 points · by wolfparade · 14y ago · 12 comments
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).
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://github.com/2tablespoons/Thylacine/blob/master/app/mo...
Just change "Charge" to "Customer" and give it a plan ID instead of a price.
Thanks for open sourcing this!