django-customer-billing-datatrans


License
MIT
Install
pip install django-customer-billing-datatrans==0.1.0

Documentation

django-customer-billing-datatrans

Build Status PyPI version Requirements Status Coverage Status License: MIT

Requirements

  • Python: 3.6 and over
  • Django: 2.0 and over

Usage

A bridge between django-customer-billing and django-datatrans-gateway

Add to your INSTALLED_APPS (django-customer-billing and django-datratrans-gateway should already be present):

INSTALLED_APPS = (
    'billing.apps.BillingConfig',
    'datatrans.apps.DatatransConfig',
    ...
    'billing_datatrans.apps.BillingDatatransConfig',
    ...
)

Run migrations:

./manage.py migrate

Development

To install all dependencies:

pip install -e .

To run tests:

pip install pytest-django
pytest