Connection
This handler is implemented using PayPal-Python-SDK, the Python SDK for PayPal RESTful APIs. The required arguments to establish a connection are as follows:mode
: The mode of the PayPal API. Can besandbox
orlive
.client_id
: The client ID of the PayPal API.client_secret
: The client secret of the PayPal API.
Check out this guide on how to create client credentials for PayPal.
Usage
Now, you can query PayPal as follows: Payments:Supported Tables
The following tables are supported by the PayPal handler:payments
: payments made.invoices
: invoices created.subscriptions
: subscriptions created.orders
: orders created.payouts
: payouts made.