Paypal Adaptive payments don't work anymore.

Before integrating upfront onboarding, you must be an approved partner, and you must have an access token. Then, complete the following steps:

  1. Make a Partner Referrals API call.
  2. Add a PayPal sign-up link on your site.
  3. Seller signs up on PayPal.
  4. Redirect the seller back to your site.
  5. Track seller onboarding status.

But there'is an alternative... smile

Paypal Settings Dokan