This is a guide for setting up Paypal as a payment provider.
Setup in Paypal admin
Please note that Paypal admin might have slightly changed and that some of the buttons might have relocted.
1. Navigate to the Developer section
Go to the Paypal dashboard for your Paypal business account. And click th Developer option in the menu.

2. Create an App
Go to "Apps & Credentials" and "Create App".

Give your app a name and create.

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/