Before starting, ensure that you have a PayPal Business account.
Then you should create a new PayPal app to allow Magentrix to authenticate with your PayPal account.
Testing payouts using a sandbox account before using a live account is recommended.
Sandbox:
Create a PayPal App
Navigate to https://developer.paypal.com/dashboard/ and login.
Navigate to Sandbox mode and select Apps & Credentials.
Click Create App.
Enter an App Name, e.g.“Magentrix”. Select Merchant and a business account.
Click Create App.
Ensure that the Payouts feature is enabled on the app.
Connect the PayPal App to Magentrix
Navigate to https://developer.paypal.com/dashboard/ and login.
Navigate to Sandbox mode and select Apps & Credentials.
Navigate to your PayPal app to view the Client ID and Secret.
In Magentrix, navigate to Setup > Extend > Connected Apps and click New.
Select API Provider and click Next. Then select OAuth and click Next.
Enter the provided fields:
Name: Enter an app name, e.g. “PayPal”.
Service URL: Enter “https://api-m.sandbox.paypal.com”.
Consumer Key: Enter the PayPal app’s Client ID.
Consumer Secret: Enter the PayPal app’s Secret.
Click Save.
Live:
Create a PayPal App
Navigate to https://developer.paypal.com/dashboard/ and login.
Navigate to Live mode and select Apps & Credentials.
Click Create App.
Enter an App Name, e.g.“Magentrix”. Select Merchant and a business account.
Click Create App.
Ensure that the Payouts feature is enabled on the app.
Connect the PayPal App to Magentrix
Navigate to https://developer.paypal.com/dashboard/ and login.
Navigate to Live mode and select Apps & Credentials.
Navigate to your PayPal app to view the Client ID and Secret.
In Magentrix, navigate to Setup > Extend > Connected Apps and click New.
Select API Provider and click Next. Then select OAuth and click Next.
Enter the provided fields:
Name: Enter an app name, e.g. “PayPal”.
Service URL: Enter “https://api-m.paypal.com”.
Consumer Key: Enter the PayPal app’s Client ID.
Consumer Secret: Enter the PayPal app’s Secret.
Click Save.