I am using PayPal Digital Goods Express Checkout in my (HTML5) web application to enable an additional application for in-app content. In my desktop browsers (Chrome, Safari, Firefox) the flow of digital goods works without problems. In this thread, pop-ups open at some points, for example, when a user presses the login button or button to pay by credit card (i.e., without a PayPal account). Pop-ups are not a problem for desktop browsers. However, in Mobile Safari on my iPad 2, pop-ups always open as (new) tabs , even if the property bar containing the width, height, etc. is passed to the JavaScript window.open () command. This makes embedding impossible PayPal Digital Goods Express Checkout has a good user interface in both desktop browsers and Mobile Safari. When a web application launches in full-screen mode on the iPad (using the icon on the main screen), opening pop-ups becomes even more problematic (or impossible).
In an attempt to solve my problem, I came up with the following options, none of which have yet led to the satisfaction of the results:
Set up a flow of payments. Of course, this is possible at some point, but after the user is redirected to the Express Express page, incontext, which forces the user to log in to PayPal, is a setting from my hands (as far as I know). For example, I cannot configure the login process itself and make it work in an iframe (instead of a popup). It would be great if there were some advanced API commands that I could use on the server side so that the user himself could log into PayPal using my own iframed login form, but that seems too far-fetched.
Creation of pop-ups is expected in Mobile Safari, it is also desirable when the web application is launched full-screen. It doesn't seem strange to me that Mobile Safari opens new windows as tabs (there are other browsers that do this). I really think it's strange that pop-ups that open from JavaScript using window.open and a property bar that determines the position and size of the window open as tabs. Does anyone know how to make Mobile Safari open such pop-ups usually without requiring users to change some browser settings?
To demonstrate my problem (and show that I'm not the only one connected with it, although the owner of this site probably does not know this ;-), go to digitalmagazine.autosport.com with your iPad and click on the "Pay with PayPal" button "in the upper left corner of the page. Click the iframe PayPal login button. The site disappears and the login page (which should be opened in a pop-up window for "in-app") opens the full page.
I also examined client-side methods (JavaScript) that are used by similar payment systems in applications , but those (of course) also use pop-ups. Therefore, I would prefer the second solution that I described above. It will also require much less work.
source share