To integrate paypal into application first you need to login into Paypal then the first thing you need to do is you have to create New App over paypal. To create app go to App create and create a app. Here we are creating a new app "Worksuite-Saas"
Once you have created the app then we need to copy the Go to Application and click on the created app. Now we need the Client ID and Secret.
Integrate with Application
Copy Client ID and secret from paypal and in application login with superadmin login details and open Settings > Payment Credential > Online Payment Credential and put copied client id and secret.
From Settings > Payment Credential > Online Payment Credential copy webhook url and add on paypal.