#bartosz5722

1 messages · Page 1 of 1 (latest)

quaint depotBOT
tidal gulch
#

Hi, let me help you with this.

#

What guide are you following exactly?

upbeat meadow
#

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

tidal gulch
#

What do you see?

upbeat meadow
#

blank page instead of the stripe component

tidal gulch
#

Do other connect embedded components work?

upbeat meadow
#

yeah, but different ones, like customer setup

tidal gulch
#

Do you have a page where I can reproduce this?

upbeat meadow
#

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?

tidal gulch
#

Nothing I am aware of. Does it work outside of an iframe?

upbeat meadow
#

yes

#

left one is hosted in the iframe

tidal gulch
#

I am not sure if Embedded Connect Components are supposed to work in an iframe. Checking to make sure...

upbeat meadow
#

similar to what was before in the "bartosz-connectjs-iframe"

tidal gulch
#

I guess it means you shouldn't rely on iframes now.

upbeat meadow
#

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

tidal gulch
#

I think it was never meant to be supported in an iframe, it just happened to work.

upbeat meadow
#

the uiLayer js contains a lot of references like: "isRenderedInIframe"

#

so I think something was considered

tidal gulch
#

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?

upbeat meadow
#

unfortunately nothing... last time I was facing some errors when loading files because of different csp headers - now it's not the same

tidal gulch
upbeat meadow
#

ok

#

thanks!