How do I set a redirect URL for Connect with PayPal (formerly Log in with PayPal)?

All parts of the specified redirect_uri, including the protocol, host, port, and context path, must match your registered return URL. You can find your return URL in the PayPal Developer Dashboard.

  1. After logging into the Developer Dashboard, go to the My Apps & Credentials page.
  2. Toggle to Live or Sandbox, depending on which environment you're working in.
  3. In the REST API apps section, select the app you're working with.
  4. In the app settings section, click Show under Return URL.
Redirect_uri failure occurs due to an inconsistency between the account and code. If you make any changes, be sure to apply the same updates in your account and code. It may take a few hours for values to update.