Choose type of application live. Create Merchant type app if it don’t exists
3. After you created new app, you need to add webhook in app settings, with Checkout order-approved and Payment sale completed checkboxes.
Endpoint URL for webhook - https://your-domain/api/payment-systems/paypal/webhook , replace your-domain with your actual domain address.
4. Go to admin panel page on your website and add payment method. You will need Client ID and Client Secret from App settings and Merchant ID from Live account settings
You can find Merchant ID here: https://www.paypal.com/businessmanage/account/aboutBusiness
5. Result
6. For testing purposes you can create a couple of sandbox accounts: business and personal. Also create sandbox application instead of live and configure webhook as described above.