1
votes

my app supports paypal payment and I use mobile express payout and now I see that it force loads to web even when I mention "_express-checkout-mobile"

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout-mobile&useraction=commit&token=EC-*******

1
what schema you used for then because for me webview never hit my app delegate method openURL.JP_Mob
Sorry, I moved from that project shortly after posting this query.Manoj

1 Answers

0
votes

PayPal uses browser detection to decide whether to show the mobile flow or the desktop flow. If you're using a webview inside of an app, you need to be sure that the webview is sending a User-Agent header in the HTTP request that identifies the browser as a mobile browser.