paypal mobile express redirects to web instead of mobile

陌路散爱 提交于 2019-12-08 06:05:37

问题


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:


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.



来源:https://stackoverflow.com/questions/18635776/paypal-mobile-express-redirects-to-web-instead-of-mobile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!