How to handle links that open in new tabs in react native web view?

Viewed 3050

I am trying to convert my e-commerce website into an app using react native webview. But I am facing some issue in payment gateway.

Here is how things work in my website :

place order-> checkout page -> click pay now button -> payment api opens a new tab for confirmation and then returns back to website.

Here is what happens in webview :

place order -> checkout page -> click pay now button -> app asks whether you want to leave app or not -> select leave app -> blank page in browser

It is not showing the payment confirmation window. Also, is there a way to open that confirmation window inside the app itself ?

Any help would be appreciated!

1 Answers
Related