Add me gateway coinbase to DJANGO project
- Status: Closed
- Hadiah: $40
- Penyertaan Diterima: 3
- Pemenang: criska
Ringkasan Peraduan
apply coinbase payment gateway to our project:
https://commerce.coinbase.com/docs/api/
api key: a89ab7d3-8303-46d6-ae0e-70995b7aa307
INSTALL DJANGO PROJECT THEN PLEASE DOWNLOAD HERE:
https://wetransfer.com/downloads/342a998d72fae7e6d9e5b35b6e8c9e0320200518093632/4af5fb
or download here:
https://easyupload.io/azrjbq
use latest python and latest django
once you apply .. run project and you need call this url:
http://localhost:9000/payment/select-gateway?plan=1
TO RUN PROJECT FOLLOW INSTRUCTIONS:
Setup
1. Add "payment" to INSTALLED_APPS
2. in urls.py add this path('payment/', include('payment.urls', namespace="payment")),
3. in dashboard/setting.py update DOMAIN = 'http://localhost:9000 ' to url domain url
4. python manage.py migrate
5. You need to create an user . So you can create a superuser
Development
1. Create templates in folder with gateway name in /payment/<gateway>/yourtemplate. Refer how we did for stripe
2. Create view functions in a new file only i.e. views_<gateway>.py
3. Add yout urls in payment/urls.py
4. Check def checkout() in views_stripe.py
You need to get plan details from get_plan_price_details() and craete a transaction with create_transaction()
with any payment gateway you use.
product = get_product_details(request)
plan = get_plan_price_details(request)
price = plan['price']
currency = plan['currency']
plan_id = plan['plan_id']
transaction_id = create_transaction(request, plan_id, currency, amount=price, payment_gateway=settings.STRIPE)
5. After succesful payment you need to redirect to URL : settings.SUCCESS_URL + str(transaction_id)
once you apply .. run project and you need call this url:
http://localhost:9000/payment/select-gateway?plan=1
stripe already applied you can test process with stripe dummy cards
---------------------------------
WHO will be first and it will be works .. will be winner + we will give you another 3-4 gateways to make + long time cooperation !
IF YOU NEED ANY INFO LEAVE COMMENT ... we will answer you asap.
THANK YOU for your helping and cooperation !
Kemahiran Disyorkan
Maklum Balas Majikan
“Very good and skilled freelancer ! Skilled for Django !! We hope we can cooperate also in future ! A++++”
Labs.Macrosoft.sk - TEAM, Slovakia.
Papan Penjelasan Umum
Bagaimana untuk mulakan dengan peraduan
-
Siarkan Peraduan Anda Cepat dan mudah
-
Dapatkan Bertan-tan Penyertaan Dari serata dunia
-
Anugerahkan penyertaan terbaik Muat turun fail - Mudah!