This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

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.

Supported versions

This package officially supports Python 2.7 and Django 1.8 and 1.9, pull requests for Python 3 are encouraged.

Who uses this

We are using this package in-house over at Visualspace, on a fairly large production webshop. Some version of this software has been included in pcommerce.payment.docdata by Huub Bouma.

Tests

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 test_secrets.py (see test_secrets.example). After that the tests can be run with:

./runtests.py

Coverage

Only offline tests are currently being run with Travis, hence the actual coverage should be much higher. To run the online tests as well, Docdata credentials need to be configured in test_project/test_project/test_secrets.py.

Pull requests for properly mocked online interactions based on the examples in Docdata’s implementation manual are greatly appreciated.

Settings

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

Release History

0.9

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_docdata-0.9-py2-none-any.whl (13.9 kB) Copy SHA256 Checksum SHA256 py2 Wheel May 6, 2016
django-docdata-0.9.tar.gz (8.6 kB) Copy SHA256 Checksum SHA256 Source May 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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