librelist archives

« back to archive

ANN: flask-itemshop (stripe payments for Flask)

ANN: flask-itemshop (stripe payments for Flask)

From:
Steven Kryskalla
Date:
2012-05-23 @ 16:40
Hi everyone,

I've created a flask blueprint called flask-itemshop for doing credit
card payments inside your app using Stripe (stripe.com). It's
available on pypi here:

http://pypi.python.org/pypi/flask-itemshop/

Documentation: http://packages.python.org/flask-itemshop/
Demo site: http://itemshopdemo.lost-theory.org/

The main thing itemshop provides is a blueprint factory (ItemBP),
which you instantiate and mount in your app to get the two purchase
steps (display form, display thank you page). The blueprint factory
can be re-used multiple times (e.g. for multiple items), or inherited
and overridden to add new functionality (writing to a database,
validation, sending an email receipt, etc.). I am planning on adding
more examples, docs, and maybe even making it the basis of a full
shopping cart / ecommerce solution (like django's Satchmo).

If you have any feedback or questions please let me know, or report an
issue on the bitbucket page:

https://bitbucket.org/lost_theory/flask-stripe-blueprint

thank you!
Steve