Ionic Stripe.js opens browser

I’ve build an ionic app which uses stripe.js

I’m including stripe js with the following code in the index.html

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <title>App</title>

  <link rel="stylesheet"  type="text/css" href="/assets/css/leaflet.css">
  <script src="cordova.js"></script>
  <script src="https://js.stripe.com/v3/"></script>
  
  <base href="/" />

  <meta name="color-scheme" content="light dark" />
  <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="format-detection" content="telephone=no" />
  <meta name="msapplication-tap-highlight" content="no" />

  <link rel="icon" type="image/png" href="assets/icon/favicon.png" />

  <!-- add to homescreen for ios -->
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
</head>

<body>
  <app-root></app-root>
</body>

</html>

When I build the App the problem is, that the app opens the browser of the device when it launchs. The opened url is: https://m.stripe.network/inner.html#url=ionic%3A%2F%2Flocalhost&title=app%20App&referrer=&muid=NA&sid=NA&version=6&preview=false

What’s the cause? How can I solve it? Thank you so much!