Django Cryptocurrency Payment

https://badge.fury.io/py/django-cryptocurrency-payment.svg https://travis-ci.org/ydaniels/django-cryptocurrency-payment.svg?branch=master https://codecov.io/gh/ydaniels/django-cryptocurrency-payment/branch/master/graph/badge.svg

Simple and flexible pluggable cryptocurrency payment app for django

Documentation

The full documentation is at https://django-cryptocurrency-payment.readthedocs.io.

Quickstart

Install Django Cryptocurrency Payment:

pip install django-cryptocurrency-payment

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'cryptocurrency_payment.apps.CryptocurrencyPaymentConfig',
    ...
)

Add Django Cryptocurrency Payment’s URL patterns:

from cryptocurrency_payment import urls as cryptocurrency_payment_urls


urlpatterns = [
    ...
    url(r'^', include(cryptocurrency_payment_urls)),
    ...
]

Features

  • Flexible payment creation that can be linked to other django object

  • Automatically update payment status from blockchain

  • Auto update payment prices if payment is not paid

  • Auto create child payment if payment is underpaid

  • Cancel unpaid payment after a period of time

  • Allow Anonymous payment

  • Pluggable backend to support more cryptocurrency

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package: