Skip to content

Bearle/django-coinpayments

Repository files navigation

django-coinpayments

https://travis-ci.org/Bearle/django-coinpayments.svg?branch=master

Package for payment handling via https://www.coinpayments.net

Screenshots

https://github.com/Bearle/django-coinpayments/blob/master/screenshots/transaction.jpg?raw=true

Features

Dependencies

Documentation

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

Quickstart

Install django-coinpayments:

pip install django-coinpayments

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_coinpayments',
    ...
)

Run migrate:

python manage.py migrate django_coinpayments

Important!

You have to provide API keys with create_transaction, get_tx_info permissions like this in your settings.py:

COINPAYMENTS_API_KEY = 'aaaaa'
COINPAYMENTS_API_SECRET = 'aaa'

Have a look at the example project to see usage examples. As for now, the example project views cover creating new transactions, viewing payments and coinpayments transactions, creating new payments using modelforms and creating new coinpayments transactions instead of the old one's (if the payment was filled partially)

Running Tests

Does the code actually work?

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

Credits

Tools used in rendering this package:

Releases

No releases published

Packages

 
 
 

Contributors