#martinoddson_39820
1 messages · Page 1 of 1 (latest)
Hi there 👋 just to make sure we're aligned, can you help me understand where you're getting that link from? Is it a URL for a Hosted Invoice Page or something similar?
Hi sorry. this is the context:
I'm building laravel app and i use cashier laravel library that is genereting the link for already created costumer
that link is to https://billing.stripe.com/p/session/t......
laravel is using https://laravel.com/docs/10.x/billing#billing-portal
Ah, I think those are Customer Portal sessions.
am yeah i think so
Offhand I don't remember there being limitations about loading those in an iframe, but I'm trying to double check that. Did you encounter an error when you tried to do so?
What kind of errors are you seeing in the browser console when trying to load that page?
Refused to frame 'https://billing.stripe.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".
Hm, that is giving me the impression that we are blocking that, still looking on my side.
thanks ❤️
to be clear i made the iframe and put the sesion url in the scr
<iframe src="https://billing.stripe.com/p/session/test"></iframe>
(thats not the full link i cut the end part for security reason )
Not finding a definitive answer offhand, asking my teammates to take a closer look. I'll be back when I hear back from them.
thank you ❤️
Thank you for your patience, my teammates were able to confirm that rendering the Customer Portal in an iframe is currently not supported. I will be sure to capture feedback for our teams that this is something you'd like to see introduced in the future though.
thats perfectly fine, i'll do it in a separate tab than. just wanted to make sure this is the case, and i'm not missing somethig. thank you, have a great weekend ❤️
Any time, hope you have a great weekend as well!