#Zhi - Checkout iframe

1 messages · Page 1 of 1 (latest)

vestal marten
#

Hello! Yep, that's intentional, Stripe Checkout cannot be put in an iframe.

surreal garnet
#

the stripe session (checkout) have to be in new tab or iframe in our use case. the window.open is not working in mobile device. Do you have any suggestion?

#

make sense to not allow to use iframe for security reason.

vestal marten
#

Can you tell me more about what you're building? Is this a mobile app? Is it native or are you using a framework like React Native or anything?

surreal garnet
#

we are using vue to build a desktop app which also run in mobile browsers

#

we manage the product and discount code. only use stripe to handle the payment

#

we are using stripe checkout

#

for a desktop browser, we can pop up a window and handle the checkout session there

vestal marten
#

I'm not very familiar with Vue, but typically in this scenario you would open a separate web view.

surreal garnet
#

for the mobile browser, it is a problem to open a new tab

surreal garnet
#

if you take a look at how paypal does, it auto manages the popup or iframe

vestal marten
#

Were either of those links helpful?