Skip to content
Advertisement

Intergrate PayPal checkout with Kivy app?

I was wondering if it is possible to integrate a PayPal checkout into my kivy app? I want the total to be determined based on a variable in my python kivy code named cart. So far, I haven’t seen anything online with this subject. Any help would be appreciated!

I have this simple code that can describe more what I want to achieve

.py

JavaScript

.kv

JavaScript

PayPal HTML file

JavaScript

Advertisement

Answer

PayPal and similar services has an api which you should be able to communicate with using kivy.network.urlrequest module. Or other option is to use Checkout-Python-SDK refer to the link https://github.com/paypal/Checkout-Python-SDK.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement