#smc - Elements + React

1 messages · Page 1 of 1 (latest)

unkempt summit
#

Hello! I'm honestly not sure, but I believe the <Elements/> component wouldn't exist in that case and an error would be thrown. Have you tried testing this using the browser dev tools to prevent connections to certain hosts?

brisk kayak
#

hmm- do you know which hosts are responsible for serving that call?

unkempt summit
#

Should be js.stripe.com

#

If you block that loadStripe should fail to load Stripe.js.

#

To clarify, is that what you're looking to test? Stripe.js being down?

brisk kayak
#

hmm, that is odd- I don't see js.stripe.com in my network requests

#

yep that's right

unkempt summit
#

It should be in there. Maybe you have caching turned on?

#

Which browser are you using?

brisk kayak
#

gah, I'm a fool. was filtering for XHR s!

unkempt summit
#

Ah. 🙂

brisk kayak
#

excellent- I think I have my answer. looks like Error: Failed to load Stripe.js shows up in the console

#

thanks for your help!!