Skip to content

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

Notifications You must be signed in to change notification settings

cryptoapi/Python-Django-Flask-Bitcoin-Payments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published