Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 1.91 KB

README.rst

File metadata and controls

61 lines (46 loc) · 1.91 KB

python-postnl-checkout

image

image

image

Code Health

What is it?

PostNL checkout support for Python and Django.

Status

Stable and being used in production.

Compatibility

Tested to work with Django 1.8 and 1.9 under Python 2.7.

Requirements

Please refer to requirements.txt for an updated list of required packages.

Django

Installation

  1. pip install -e git+https://github.com/dokterbob/python-postnl-checkout.git#egg=python-postnl-checkout
  2. Add postnl_checkout.contrib.django_postnl_checkout to INSTALLED_APPS.
  3. Setup required settings POSTNL_CHECKOUT_USERNAME, POSTNL_CHECKOUT_PASSWORD and POSTNL_CHECKOUT_WEBSHOP_ID settings.

Settings

  • POSTNL_CHECKOUT_USERNAME
  • POSTNL_CHECKOUT_PASSWORD
  • POSTNL_CHECKOUT_WEBSHOP_ID
  • POSTNL_CHECKOUT_ENVIRONMENT
  • POSTNL_CHECKOUT_TIMEOUT

Tests

Tests for pull req's and the master branch are automatically run through Travis CI.

License

This application is released under the GNU Affero General Public License version 3.