Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install django-receipts

How to install django-receipts

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-receipts
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
0.1.5 Available View build log
Linux (32-bit)
0.1.5 Available View build log
Linux (64-bit)
0.1.5 Available View build log
Lastest release
version 0.1.5 on Jun 7th, 2012

Parsing of web app receipts in Django. A simple library to parse web application receipts in Django. It follows the same syntax as the verification service at thee Mozilla Marketplace.

This is optional, you can just verify your receipt with the Marketplace. However there are a couple of reasons you might want to do this:

  • analytics, tracking usage of your app as it checks receipts
  • tracking usage of receipt by IP address to prevent sharing of receipts
  • blocking of receipts that you know are fradulent.

This app provides a django model that shows the receipts that been processed, allowing you to block the receipts there.


Install from pypi:

pip install django-receipts


Add django_receipts to your INSTALLED_APPS:


Run syncdb to install the table:

python manage.py syncdb

Add in django-receipts into your urls, for example:

urlpatterns = patterns('',
         url(r'^receipts/', include('django_receipts.urls')),

You will then be able to do a POST to:

curl -X POST http://localhost:1234/receiive --data "good.receipt"

This will return:

{"status": "ok"}

See django_receiptsconstants.py for more.


  • RECEIPT_CHECK_INTERVAL (optional): time between receipts from the client to actually send receipts to the server. Effectively a cache of the check against the server. Default: 60 minutes.

Subscribe to package updates

Last updated Jun 7th, 2012

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.