Skip to main content
Connect PayPal to enable the provider in your workspace and make the payment node available in Brain Studio with an embedded WebView experience.

Before you begin

Make sure you have:
  • A PayPal account enabled for commercial and API use
  • The Client Id
  • The Client Secret
  • The applied VAT that the integration will use
  • The Currency in which the payment will be made
  • The correct credentials for your environment: development/test or production
To obtain or review credentials, follow Obtaining credentials.
For the checkout to open inside WhatsApp (embedded WebView), the account must be WhatsApp Business verified.If it is not verified, the checkout will open in the device’s external browser.

Ways to start the installation

You can start the PayPal installation from different points in Brain Studio. All paths use the same provider configuration.
Ask Jelou Agent to add payments with PayPal while you build or adjust a flow.Examples:
  • “Add payments with PayPal to this flow”
  • “I need a PayPal checkout for this case”
Jelou Agent detects PayPal as an available provider from Marketplace and triggers the assisted installation flow.
All installation paths use the same provider configuration. What changes is where you start the flow.

Common installation flow

Regardless of the entry point, the shared process is the following.
The first modal asks you to choose Try with Jelou or Connect my account.
  • Try with Jelou: installs the gateway in test mode, without an account or your own credentials.
  • Connect my account: uses your test or production credentials. Continue with the steps on this page.
1

Choose test or production credentials

Brain Studio will ask you to select whether you will connect PayPal with test credentials or production credentials.In PayPal, these credentials correspond to the Sandbox or Live environments.
Brain Studio modal to choose between test credentials or production credentials when connecting PayPal

Environment selection to connect PayPal

2

Complete the credentials

Complete the modal with:
  • Client Id
  • Client Secret
Brain Studio modal to enter PayPal's Client Id and Client Secret

Credentials required to connect PayPal

3

Configure applied VAT and Currency

Define the applied VAT that the integration will use and select the operating Currency.
4

Confirm connection

Confirm the connection. Brain Studio will save the configuration and make PayPal available in your workspace.
5

Use PayPal from the Payments node in Canvas

After installing, you can use PayPal from the Payments node in Canvas, regardless of whether you started the installation from Jelou Agent, Marketplace, the Payments node, or a template.

Development vs production credentials

PayPal separates credentials by environment:
  • Sandbox: credentials for testing without processing real payments.
  • Live: credentials for processing real payments.
PayPal uses different Client Id and Client Secret for each environment. The applied VAT and Currency are defined during the connection. To obtain PayPal credentials, see Obtaining credentials.
Development credentials do not process real payments. Before operating in production, you must connect PayPal using production credentials.
If you connect PayPal with development/test credentials, you will need a PayPal Sandbox Personal account to complete fictitious payments during testing. See Usage and configuration.

Switch to production

If you installed PayPal with development/test credentials, you can use the payment node for testing. To operate with real payments:
1

Open Switch to production

You can start the change from:
  • The advanced sidebar of the PayPal node in Canvas
  • The PayPal page in Marketplace
In both cases, the same modal opens to switch the integration to production.
2

Complete production Client Id and Client Secret

Enter the production Client Id and Client Secret.
Brain Studio modal to enter PayPal's production Client Id and Client Secret

Production credentials to switch PayPal to production

3

Confirm applied VAT and Currency

Review and confirm the applied VAT and the Currency that the integration will use in production.
4

Confirm the change

Confirm the action. From that moment on, the integration operates with production credentials.

Change credentials

  • To switch from development/test to production with the same installation, use the Switch to production section.
  • To rotate credentials or replace the configuration, disconnect PayPal and reinstall it following the common installation flow on this page.

Next step

Once the integration is connected, continue with:

Usage and configuration

Configure the payment node and continue the flow based on the WebView payment result.