Paypal Return URL needed when using react-paypal + onApprove()?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my PayPal Sandbox App it asks for a return url:
Right now I am using the onApprove function in the @paypal/react-paypal-js packages & do a router push if it's called. Do I still need to set this parameter on the paypal backend? Is there a difference?
I also do not understand what it currently says for my [removed]
nativexo://paypalpay
? What does this mean?
- Labels:
-
Payments REST APIs
-
Payouts Rest APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Return URLs in the app settings are used by Log in with PayPal and the native SDK. They are not used by normal PayPal Checkouts, even those which do redirect for approval and thus use a return URL specified when the order is set up. PayPal JS SDK checkouts do not redirect nor have a return URL anyway.
Source: URL

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Can i create subscription and plans directly in JavaScript on the page ? in PayPal Payments Standard
- need to find partner integration code or BN in REST APIs
- Invalid 'custom' parameter in PayPal Reporting
- I have these two javascript files on all pages of my site. Are they needed? in SDKs
- Redirect onApprove of Subscription in Sandbox Environment