Paypal Return URL needed when using react-paypal + onApprove()?

Davidwesa
Contributor
Contributor

In my PayPal Sandbox App it asks for a return url:

eM1bs.png

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?

Login to Me Too
1 REPLY 1

Davidwesa
Contributor
Contributor

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

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.