How to implement Stripe with the stripe.js ES Module? (Stripe Checkout, Stripe Connect, Server + Client Side)

Hey everyone,

so has anyone found a (preferably somewhat clean) solution to this?

How can I make use of the Stripe.js library in the Wix frontend?

The only workaround I’ve found so far is to actually redirect to a completely new third-party site just for handling the Stripe.js library call: Redirecting to Stripe Checkout Page - #6 by developersneakybot