#Zhi - Checkout iframe
1 messages · Page 1 of 1 (latest)
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.
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?
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
I'm not very familiar with Vue, but typically in this scenario you would open a separate web view.
for the mobile browser, it is a problem to open a new tab
Is this relevant? https://nativescript-vue.org/en/docs/elements/components/web-view/
if you take a look at how paypal does, it auto manages the popup or iframe
Were either of those links helpful?