Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: fatnet on June 09, 2019, 07:45:17 AM



Title: bitcoin payment via flask/django
Post by: fatnet on June 09, 2019, 07:45:17 AM
hello, does smb has a video/link/post where smb explains how to write bitcoin payment via flask or django, i need it for my project.
i know there is a php version of bitcoin payment, but i dont know php, and also, php < python xd
ty all ;)


Title: Re: bitcoin payment via flask/django
Post by: OmegaStarScream on June 09, 2019, 08:02:33 AM
If you're fine with using third party services, you could use Coinbase commerce  (https://medium.com/@toussaintalex/integrating-coinbase-commerce-with-django-30572116aab8)or BitPay (https://github.com/bitpay/bitpay-python). There is also GoUrl.io (https://gourl.io/python_django_flask_bitcoin_payment_gateway.html) which is a less used solution.


Title: Re: bitcoin payment via flask/django
Post by: fatnet on June 09, 2019, 01:10:12 PM
If you're fine with using third party services, you could use Coinbase commerce  (https://medium.com/@toussaintalex/integrating-coinbase-commerce-with-django-30572116aab8)or BitPay (https://github.com/bitpay/bitpay-python). There is also GoUrl.io (https://gourl.io/python_django_flask_bitcoin_payment_gateway.html) which is a less used solution.
ty a lot


Title: Re: bitcoin payment via flask/django
Post by: ETFbitcoin on June 10, 2019, 04:29:32 PM
Alternatively, you could use BTCPay (https://github.com/btcpayserver/btcpayserver), which is free and open-source where you have full control.
It's widely used by merchant who want full control, so you don't need to worry about security.

While it uses C#, it has API features, so you just need to "call" it from your Python project.