This guide outlines the steps for setting up PayPal as a payment provider.
Set up in PayPal admin
Please note that some of the buttons might have relocated in PayPal admin.
1. Navigate to the developer section

Go to the PayPal dashboard for your PayPal business account. And click on the Developer option in the menu.
2. Create an App
Go to "Apps & Credentials" and "Create App".

Give your app a name and create it.

Sandbox
It is possible to test the PayPal-integration in a sandbox environment with sandbox accounts.

Card testing: https://developer.paypal.com/tools/sandbox/card-testing/
Configure PayPal credentials
Add PayPal as a payment gateway in `Shop` settings under `Payments`.
More information here: Setup payment gateways
Payment gateway settings
Setting |
Description |
---|---|
Sandbox |
Tick and use sandbox credentials from PayPal |
captureOnCheckout |
With value false the amount will be authorised and true will capture the amount when order is placed. |
debug |
Value is true or false. |
disableMethods |
choose payment methods to disable, by default all are active. |
clientId |
The clientid from PayPal |
secret |
The secret key from PayPal |