Saikat Mukherjee
Saikat Mukherjee

Reputation: 550

Djnago with Paypal for server site integration

I am using django 3 and django-paypal module, It's my first time with payment integration so Is there any better way to just add paypal like client site integration in production?? i am trying many tutorial docs but they are not sufficient ! it would be highly appreciated if anyone suggest me any best way and also with the links to follow .

Thank you

Upvotes: 1

Views: 139

Answers (1)

Preston PHX
Preston PHX

Reputation: 30477

Create two routes that return JSON, one for 'Create an Order' and one for 'Capture Order', documented here. You can use the Checkout-Python-SDK.

Pair your two routes with the JS front-end: https://developer.paypal.com/demo/checkout/#/pattern/server

Upvotes: 1

Related Questions