Introduction
The PayPal payment gateway is an authorized payment method that can be used with the e-commerce features of your platform. There are two different ways to configure PayPal in Docebo:
- PayPal Legacy (IPN). This is the older integration.
- PayPal Payments. This is the newer integration, released in March 2017, and it is highly recommended for new implementations.
Both integrations are covered in this article.
Note that both PayPal Legacy and PayPal Payments process PayPal payments in the same way, so users using PayPal to purchase courses in your platform should not notice a difference between one or the other during the checkout process.
Prerequisites
The PayPal integrations are available on the platform with the e-commerce pack. Contact your Docebo representative for information about how to obtain it.
- To configure PayPal Legacy or PayPal Payments you will need to have a valid Paypal business account.
- In addition, for PayPal Payments, you will also need to access the developer dashboard for your PayPal account.
Requirements & Limitations
- Some currencies supported by Docebo may not be accepted by PayPal, so remember to check if your currency is supported by both systems before proceeding. Check if your country and currency are supported by PayPal (opens in a new tab).
- When working with the Extended Enterprise, configure the settings of PayPal in the root domain. If some domains require a different configuration, apply the configuration locally, in the E-Commerce tab of the Extended Enterprise app.
PayPal Legacy (IPN)
To configure this payment method:
- Select Admin menu > Payment method - PayPal Legacy (IPN) > Manage.
- In the configuration page that opens, activate the option Enable PayPal Standard payment gateway.
- In the PayPal information field, if you want to work in a test environment enter your sandbox PayPal account name (for example,
sb-4p3ai33824491@business.example.com
), otherwise enter your live PayPal business account name. - If you entered the sandbox account name to test the configuration, flag the Sandbox mode option.
- Press Save changes when finished.
PayPal Payments
For this configuration, you will first need to create an app in the PayPal developer dashboard:
- Log in to the PayPal developer site (opens in a new tab) with your PayPal developer account credentials.
- Create an app as instructed in the Paypal documentation (opens in a new tab). You can create an app in the Sandbox environment (for testing) or in the Live environment (for production). For more information see the Paypal documentation on Sandbox testing (opens in a new tab).
- Copy the Client ID and Client secret for your app. These will be used later to configure the integration on the platform.
Now, on the platform:
- Select Admin menu > Payment Method - PayPal Payments > Manage.
- In the configuration page that opens, activate the option Enable PayPal Payments payment gateway.
- Then in the Paypal information fields, enter the PayPal Account, and the Client ID and Client secret of the previously created PayPal app (live or sandbox).
- If you entered sandbox details, select the Sandbox mode check box.
- Press Save changes.