GithubHelp home page GithubHelp logo

spditner / django-coinpayments Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bearle/django-coinpayments

0.0 2.0 0.0 88 KB

Django package for handling payments via https://www.coinpayments.net

License: MIT License

Makefile 3.12% Python 85.64% HTML 11.24%

django-coinpayments's Introduction

django-coinpayments

image

image

image

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

Screenshots

image

Features

  • Has full Coinpayments API client based on .. _`This one`: https://github.com/DogFive/pyCoinPayments
  • Has celery, cron tasks for transaction status updates
  • Provides a simple create_tx method
  • Multiple accepted coins can be set using COINPAYMENTS_ACCEPTED_COINS variable in settings.py

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:

django-coinpayments's People

Contributors

delneg avatar rubik avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.