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!

Django wrapper for SunTech BuySafe (TM).

Project Description

Buysafe bundles SunTech BuySafe (TM) posting and receiving routines into Django forms and views, and provides an admin view for payment method management.


If you want to use the default product info handler, you need to use Cartridge as your ecommerce backend. If you provide your own info handler, all you need is Django.

Quick start

1. Add :code:`buysafe` to your :code:`INSTALLED_APPS` setting:



2. If you don't use Cartridge, add :code:`BUYSAFE_FORM_VALUES_GENERATOR` in your settings to specify a custom handler. The handler should accept :code:`**kwargs`, which contains values in the :code:`request.POST` dictionary.

3. Run :code:`python migrate buysafe`.

4. Go to your admin and add some payment methods.

5. To pay for an order, use POST to submit a form to view:code:`buysafe_start` with the values to pass to the product info handler. The default handler needs an :code:`order_id` field. This brings up a view to initiate the payment process.

6. Profit!
Release History

Release History

This version
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
django_buysafe-0.2-py27-none-any.whl (14.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Nov 16, 2013
django-buysafe-0.2.tar.gz (9.7 kB) Copy SHA256 Checksum SHA256 Source Nov 16, 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