#bartosz5722
1 messages · Page 1 of 1 (latest)
hi, this is simple - it's not working when the page is hosted in the iframe
I go similar, but not the same issue some time ago in this thread: "bartosz-connectjs-iframe"
no errors when loading any additional scripts/files
it's simply not giving any result
What do you see?
blank page instead of the stripe component
Do other connect embedded components work?
yeah, but different ones, like customer setup
Do you have a page where I can reproduce this?
not really - it's our saas solution
StripePaymentElement works just fine when hosted in the iframe
it was working just fine until Friday
have you been changing anything back then on your side?
Nothing I am aware of. Does it work outside of an iframe?
I am not sure if Embedded Connect Components are supposed to work in an iframe. Checking to make sure...
I guess it means you shouldn't rely on iframes now.
we wanted to change that in the long term but got the feeling Stripe will reach out to the user before making any breaking changes in the future
I think it was never meant to be supported in an iframe, it just happened to work.
the uiLayer js contains a lot of references like: "isRenderedInIframe"
so I think something was considered
And you don't see any errors in the console? Nothing?
Are you sure you couldn't share it with me to click around and try to investigate?
unfortunately nothing... last time I was facing some errors when loading files because of different csp headers - now it's not the same
Ok, do you mind reaching out to Stripe Support, so my engineering team has more time to investigate: https://support.stripe.com/?contact=true