Integrating Paypal with Flask - Flask Web Development with Python 34
In this Flask web development tutorial with Python, we're going to cover how to integrate PayPal. When I first started poking around how to implement PayPal automatically in some way, I was quickly overwhelmed with options, and various services. There's the legacy PayPal API, Braintree, and the IPN. Braintree does appear to have some pretty cool options, especially if you purely want to use PayPal is a payment processor, and nothing more, but, for most mere mortals, they really just want to have a business PayPal, with maybe a store that has some buy with Paypal buttons, or maybe a subscription. For this task, all we really need is to speak with the IPN (instant payment notification).
sample code: https://pythonprogramming.net/paypal-flask-tutorial/
https://developer.paypal.com
http://pythonprogramming.net
https://twitter.com/sentdex