Paypal Return URL needed when using react-paypal + onApprove()?
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]
? What does this mean?
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.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- need to find partner integration code or BN in REST APIs
- Invalid 'custom' parameter in PayPal Reporting
- Redirect onApprove of Subscription in Sandbox Environment