Ios App auto Open script tag url in browser

Hi there, hope you will be fine. So, I created an app in ionic and its work fit and fine. The problem is that I was used this <script src="https://js.stripe.com/v3/"></script> in my index.html file to use stripe. And its work fine in android and ios too. but the problem in ios is that when app loads this link https://js.stripe.com/v3/ automatically gets open in a browser. I did not find anything on the google about this issue. Please help, thanks!