Visit the official documentation: https://developer.paypal.com/developer/applications
Setup
Copy and paste the API username, password, and signature into the /.env file.
Open and edit the /.env file by providing your keys like this:
PAYPAL_MODE=sandbox
PAYPAL_CLIENT_ID=your-paypal-client-id
PAYPAL_CLIENT_SECRET=your-paypal-client-secretYou have to use PAYPAL_MODE=live in your live server.
You are done.
Now visit Admin Panel -> Settings -> Packages to set the packages and currencies.