Hello, i have this form that i need to post to paypal, and when i do it posts in the same view. I can finish the process , but there’s no way i can get back to my app, say i came from /#/app/home and i end up here https://www.sandbox.paypal.com/cgi-bin/webscr#m-3
Also , paypal can return to an arbitrary url after completing the payment, but that’s useless since i can not return to the app from there, i tried a link with href like ‘file:///android_asset/www/index.html#/app/home’ but no go. It does work when i redirect from the server callback url to my local dev server localhost:8100/#/app/home but that is also useless on the phone since there’s no running server there only static files.
So, the question was… can i submit a form in a new window or something or maybe a way to get back to the app after i submitted the form.
Next thing is to try is to poll window.location.href after i submit the form, and when it matches my server callback url where paypal will redirect after success, maybe try to use state.go or something to get back “home”…