Configuring PayPal for the E-Commerce App

Learn how to configure PayPal as a payment gateway in your LMS.

Last Updated

February 14th, 2019

Reading Time

3 min

Version

User Level

Introduction

The PayPal payment gateway is an authorized payment gateway on your LMS. Please note configuring PayPal in Docebo requires that the E-Commerce app is activated in your platform. Refer to this article to learn more about configuring the settings for the E-Commerce app. In the LMS,  there are three different ways to configure PayPal:

  • 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.
  • PayPal Payflow. This is the newest integration, released in August 2017. Docebo does not currently support Payflow Pro.

Please note that all configurations process PayPal payments in the same way, so users using PayPal to purchase courses in your LMS should not notice a difference between one or the other during the checkout process.

paypal admin menu

Begin by accessing the Admin Menu from the gear icon, then press the Manage item in the E-Commerce Section. Select the PayPal LegacyPayPal Payments, or PayPal Payflow tab, depending on your preference.

Please note that 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. Find here the complete list of the currencies supported by Docebo.

PayPal Legacy (IPN) Gateway

In the PayPal Legacy (IPN) tab, flag the Enable box to allow payments using the PayPal Legacy payment gateway. Then insert the PayPal account you would like to use, and decide if you want to use the PayPal sandbox instead of the real environment. Please note that in order to use this system you need a valid merchant account in PayPal.

paypal legacy

If you want to test the configuration before using the real environment, you can flag the option to enable sand box mode. Press Save Changes when finished.

PayPal Payments Gateway

Before you begin, please note that you must have a PayPal Developer account in order to configure this payment gateway with your LMS. The PayPal Payments gateway only works with some countries and some currencies. Refer to this article from PayPal to see if your country and currency are supported.

paypal payments

In the PayPal Payments tab, flag the Enable box to allow payments using the PayPal Payments payment gateway. Insert your PayPal account, Client ID, and Client secret into the corresponding text boxes. In order to retrieve this information from PayPal, you need to create an application in your PayPal Developer account. Please refer to this article in PayPal’s knowledge base to learn how to do so.

Once your app is created, you will see the API keys needed for the configuration. Please note that by default, your new account in PayPal will be created in Sandbox Mode. You can use this mode if you also want to use sandbox mode for PayPal Payments in your LMS). In order to use the API keys for live payments in your LMS, switch the toggle from Sandbox to Live Mode.

Once the API keys are inserted into your LMS, press Save Changes.

PayPal Payflow Gateway

To set up your PayPal Payflow gateway, refer to this PayPal documentation. Once you’ve set up the gateway, you can integrate it with your LMS. Please refer to PayPal’s country matrix to see if your country supports this payment gateway.

paypal payflow

In the PayPal Payflow tab, flag the Enable box to allow payments using the PayPal Payflow payment gateway. Then insert the PayPal account username and password you would like to use. Please note that in order to use this system you need a valid merchant account in PayPal.

If you want to test the configuration before using the real environment, you can flag the option to enable sandbox mode. Press Save Changes when finished.