#mymo-stripeJS
1 messages · Page 1 of 1 (latest)
Hey there 👋 when you say stripe.js was loaded multiple times, what do you mean? Are you referring to file being imported multiple times, or is it being initialized multiple times?
I actually don't know, that's the message I get in chrome inspectors' console. "It looks like Stripe.js was loaded more than one time. Please only load it once per page."
(and with this issue, the payment form doesn't show on the checkout page, where it should be the only place to use it)
I was just able to reproduce this in my test site by duplicating my import line:
<script src="https://js.stripe.com/v3/"></script>
<script src="https://js.stripe.com/v3/"></script>```
So I'd recommend checking that you aren't importing it multiple times.
I checked and I only import it once. Also, everything is working well on my localhost, so I guess it comes from somewhere else..?
I'm not sure then, you may want to check if you import any scripts that also import stripe.js.
there couldn't be any issue/difference possible between local mode and live mode?
Maybe, maybe not. That's going to depend on what your local setup looks like vs what your 'live' setup looks like.
We don't have any insight into your environments, so you'd be the best person to find the cause of the warning.
Can you show your code where you include Stripe.js or any other Stripe SDKs?