Coder Social home page Coder Social logo

lucifershadox / python-django-flask-bitcoin-payments Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cryptoapi/python-django-flask-bitcoin-payments

0.0 1.0 0.0 9 KB

This explains how you can use GoUrl Bitcoin Payment Gateway on Python's Django / Flask

Python 41.63% HTML 12.61% JavaScript 45.76%

python-django-flask-bitcoin-payments's Introduction

GoUrl.io Python's Django v1 & v2 Bitcoin Payment Gateway -

This example explains how you can use GoUrl Bitcoin Payment Gateway on Python's Django. It's easily adapted to other frameworks (such as Flask).

The views.py file has two functions:

  • cryptobox_rendering: The view for rendering the template, which contains the cryptobox
  • callback: This is the view which receives and processes the POST data sent within the IPN callback

To render the cryptobox in your template, you will need to send all the requeried parameters to it. (the value of the hash parameter is returned by the hash function of the provided md5hash.py file). Then, pass all these parameters to the cryptobox_show function of the cryptobox.js file.

Steps for the Gourl API-integration IPN feature:

  • Add the callback URL into the urlpatterns list of your urls.py file.
  • Add the callback view to views.py

More Info: https://gourl.io/python_django_flask_bitcoin_payment_gateway.html

python-django-flask-bitcoin-payments's People

Contributors

cryptoapi avatar karan-jadhav avatar

Watchers

 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.