Add me gateway coinbase to DJANGO project

  • Estado: Closed
  • Premio: $40
  • Propuestas recibidas: 3
  • Ganador: criska

Resumen del concurso

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 !

Habilidades recomendadas

Comentarios del empleador

“Very good and skilled freelancer ! Skilled for Django !! We hope we can cooperate also in future ! A++++”

Imagen del perfil Labs.Macrosoft.sk - TEAM, Slovakia.

Principales propuestas de este concurso

Ver más participaciones

Tablero de aclaración pública

  • Labs.Macrosoft.sk - TEAM
    Organizador del concurso
    • 3 años atrás

    will someone solve ?

    • 3 años atrás
    1. Shehroj
      Shehroj
      • 3 años atrás

      Hi,
      Please check my solution.

      • 3 años atrás
    2. criska
      criska
      • 3 años atrás

      Hello,
      I've solved the implementation please check my solution

      • 3 años atrás

Cómo comenzar con los concursos

  • Publica tu concurso

    Publica tu concurso Fácil y rápido

  • Recibe montones de propuestas

    Consigue toneladas de propuestas De todo el mundo

  • Elige la mejor propuesta

    Elige la mejor propuesta ¡Descarga fácilmente los archivos!

Publica un concurso ahora o únete a nosotros hoy