Django Cryptocurrency Payment¶
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