A quick/simple lib for using ExpressCheckout
src/paypal_ec.py file to your utils directory and import the library.
There is a code example commented at the end of the library (function main).
ExpressCheckoutwith your sandbox user credentials: go to PayPal app acounts, select the probfile of one if created, then get the api credentials.
Execute the method that you want with the parameters it requires: setExpressCheckout, getExpressCheckoutDetails, doExpressCheckoutPayment.
Get the response and do whatever you want with it.
ps.: responses will always be a python dict so that you are able to manage it the way you want.
For properly configuring the dependencies:
$ pip install virtualenv $ virtualenv .env $ pip install -r requirements.txt $ source .env/bin/activate $ nosetests --verbose
Just fork the repo, test/document it and then submit your PR. PR are awesome.