django-docdata 0.2

Python/Django client to the Docdata payment system.

Python/Django client to the Docdata payment system.

What it does

This package offers Python and Django integration for Docdata's WebMenu product. It offers a direct abstraction of the API living in docdata.interface which does not use Django for anything other than UTF-8 encoding of URL's. On top of this we implemented a Django persistence layer and a payment_status_changed signal for easy integration into webshops and other applications requiring payments.

Who uses this

The 1%CLUB is using this in their Open Source crowdfunding platform Project Bluebottle. Some version of this software has been included in pcommerce.payment.docdata by Huub Bouma. And surely, we are using this package in-house over at Visualspace as well, ona fairly large production webshop.


This package has fairly extensive test coverage. However, a significant portion of the tests currently requires a testing account and hence DOCDATA_MERCHANT_NAME and DOCDATA_MERCHANT_PASSWORD to be setup in the file (see test_secrets.example). After that the tests can be run with:

python test

Only the online tests are currently being run with Travis. If you fire pull requests I would tremendously appreciate offline test coverage using httpmock) over the existing offline tests, ideally based on the examples in Docdata's implementation manual.


Credentials as supplied by the payment provider.
Credentials as supplied by the payment provider.
Whether or not to run in testing mode. Defaults to True.
Which profile to use for processing payments. Defaults to standard.


Mathijs de Bruin




  • Topic :: Software Development :: Libraries :: Python Modules
  • Programming Language :: Python
  • Operating System :: OS Independent
  • Natural Language :: English
  • License :: OSI Approved :: GNU Affero General Public License v3
  • Intended Audience :: Developers
  • Framework :: Django
  • Environment :: Web Environment
  • Development Status :: 4 - Beta
File Type Python Version Uploaded On Downloads
django-docdata-0.2.tar.gz Source Sept. 24, 2013 1,219
Version Release Date
0.2 Sept. 24, 2013
Date Package Version Action
Nov. 4, 2014, 1:06 p.m. django-docdata 0.2 Release Created
Nov. 4, 2014, 1:06 p.m. django-docdata Package Created