Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Stripe credit card processing integration with Cartridge

Project Description

Stripe_ credit card processing integration with Cartridge_.

.. _Cartridge: htps://
.. _Stripe:


Follow the installation instructions of django-zebra_.

.. _django-zebra:


pip install cartridge-stripe

Update the to use your shiney new app.
Add it to 'INSTALLED_APPS' above '' to override the checkout template
or copy it to the templates dir in your project.


# ...
# More stuff...

SHOP_HANDLER_PAYMENT = 'cartridge_stripe.payment_handler'
SHOP_CHECKOUT_FORM_CLASS = 'cartridge_stripe.forms.OrderForm'



Add some sort of style for 'div.payment-errors' which will display validation
errors from stripe.


div.payment-errors {
color: #F00;


Now your checkout flow should have card validation and the Stripe order number
linked to the purchase.


I'm open to bugs and pull requests. Just run pep8 first.
Follow me and say hi!
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cartridge-stripe-0.1.3.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Jun 6, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting