The above modules let you create and administrate one-time and recurring payments (subscriptions). To get started with Paypal, you need to connect your Paypal account to Integromat. If you do not have a Paypal account yet, you can create one at PayPal.com.
To connect your Paypal account to Integromat, follow the general instructions for Connecting to services. Clicking the Continue button will bring up a form, where you will be asked to enter a public key (Client ID) and a private key (Secret).
To get the keys, you need to create an application that will connect Integromat and your PayPal account.
Start by creating at least one testing account on the Sandbox test accounts page. Then click on Create new app, enter a name, a testing account, and then create the application. Afterwards, you will be redirected to a page showing the required Client ID and Secret key.
To move your application into the PayPal's production environment, click on
To create a new payment, use these two actions: Create a payment (step 1) and Execute a payment (step 2).
The Create a payment action consists of entering all payment details and getting an approval URL. The approval URL is then sent to a user who logs into his/her PayPal account and approves the payment. Afterwards, the user is redirected to the Redirect URL (Return or Cancel URL) that was specified during Step 1. PayPal appends to the return URL a Payer ID and Payment ID. Make sure you store these IDs, you will need them in Step 2.
As soon as the user approves the payment, run the Execute a payment action (step 2). Here, fill in the Payer and Payment IDs that were appended to the Return URL. After you run the action, the payment is executed.
To create a new agreement, use these two actions: Create an agreement (Step 1) and Execute an agreement (Step 2). Before creating an agreement, you must define and activate a billing plan (for example, using the action Create a plan).
The first action involves entering all necessary details needed to set up a payment and generate an approval URL. This approval URL is then sent to a user so that the user can approve the agreement. The user must approve the agreement before you can execute it. To activate the agreement, run the Execute an agreement action (Step 2).