I am developing a PayPal integration and wanted to adjust the way that PayPal window comes up. The standard is for PayPal UI to show up in a PopUp Window. However, I want something different. I would like the current window to be redirected to PayPal instead and once the transaction in PayPal is complete, have the current window go back to my app. I have seen this done by Spotify, as I just made an update to my payments today there. In Spotify, after clicking CONTINUE PURCHASE button, the window redirects to https://www.paypal.com/webapps/hermes?flow=1-P&ulReturn=true&token=<TOKEN>&rcache=2&cookieBannerVariant=1&country.x=CA&locale.x=en_US&billingLite=1#/billingweb/choice and once complete, the window goes back to Spotify URL. I want to use this exact same workflow that Spotify uses. Can someone please show me how this is accomplished and where the documentation is for this workflow?
... View more