Quantcast
Channel: Active questions tagged paypal - Stack Overflow
Viewing all articles
Browse latest Browse all 518

what is a returnURL after successful payPal transaction while using flutter_paypal in flutter mobile app

$
0
0

I am working on paypal transaction in my flutter app by using flutter_paypal package. The thing which I dont understand is how to return back the user to app after successful transaction. The paypal sdk requires a returnUrl but what should this url be in case of mobile app.

I tried to pass a fake url in sdk and than check in onUrlChange if that url is returned than prevent navigation to that url but that does not help

 onUrlChange: (UrlChange change) {            if (change.url.contains(returnURL)) {              return NavigationDecision.prevent;            }          },

Viewing all articles
Browse latest Browse all 518

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>