Search code examples
cordovaionic-frameworkpopupandroid-webviewinappbrowser

Pop up window won't open in Ionic-v1 InAppBrowser


I'm new to IONIC and trying to implement payment gateway in my Ionic app. I have everything set up in an external URL, only to load it to the app via InAppBrowser. All looks good especially with Mastercard until a customer decides to use Vis card to make payment which UNFORTUNATELY requires Verified by Visa (VBV/3DS pop up window) as part of its transaction flow.

NOW THE PROBLEM IS: pop window won't come up in InAppBrowser. I have tried to use iframe, its all the same thing. I have already looked into Cordova Documentation on InAppBrowser but not helping either.

in my config: `

<access origin="*"/>
  <allow-navigation href="*" />
  <preference name="webviewbounce" value="false"/>
  <preference name="UIWebViewBounce" value="false"/>
  <preference name="DisallowOverscroll" value="true"/>
<preference name="BackupWebStorage" value="none"/>

`


Solution

  • After so much effort, I contacted the webpay service provider and they make the redirection (pop up) load on iFrame rather trying to load it on new window. This is what solved my problem.