#teeluxiii
1 messages · Page 1 of 1 (latest)
Hello! Let me dig around and see what I can find
I'm not a React expert but my general guess is that you're getting this error when you attempt to set window.stripe before Stripe.js has finished loading. Using loadStripe guarantees that it will wait until after stripe.js has been successfully loaded
Hmm okay, we can explore that avenue but the script is definitely loaded by the time we assign window
Yeah to be honest this could really be anything - and since it's something you've been unable to repro locally it'll be hard to pinpoint what the specific issue would be
Easiest thing would be to try moving to loadStripe and see if that helps