How to prevent stripe checkout from opening new tab on mobile

2,170 views
Skip to first unread message

Binyamin

unread,
Feb 14, 2016, 9:14:03 AM2/14/16
to Stripe API Discussion
We are using the stripe checkout in our web-page in an embedded browser. The issue is the mobile experience with the stripe widget opens a new browser to go through the stripe checkout workflow; however, this browser does not allow more than one window to be opened. Is there a way to get the stripe checkout to either: use the modal on mobile, similar to the desktop-based workflow or to do the workflow in the same window instead of opening a new one.

Remi J.

unread,
Feb 14, 2016, 9:18:14 AM2/14/16
to api-d...@lists.stripe.com
Hey,

It's not possible to tweak Checkout to open directly as a modal on mobile. It will always open as a new tab as it makes for a better experience for customers and helps with conversions. Since your browser specifically can't open a new tab, you'll need to use Stripe.js [1] and build your own form [2] instead.

All the best,
Remi


On Sun, Feb 14, 2016 at 5:48 AM, Binyamin <bgerst...@gmail.com> wrote:
We are using the stripe checkout in our web-page in an embedded browser. The issue is the mobile experience with the stripe widget opens a new browser to go through the stripe checkout workflow; however, this browser does not allow more than one window to be opened. Is there a way to get the stripe checkout to either: use the modal on mobile, similar to the desktop-based workflow or to do the workflow in the same window instead of opening a new one.

--
You received this message because you are subscribed to the Google Groups "Stripe API Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.
To post to this group, send email to api-d...@lists.stripe.com.
Visit this group at https://groups.google.com/a/lists.stripe.com/group/api-discuss/.

Binyamin

unread,
Feb 15, 2016, 10:23:00 AM2/15/16
to Stripe API Discussion
There is no chance of you adding some sort of same window support. It does not have to be modal based it can just be the same as what already exists except in the same tab. I'd rather not have to re-do what you've already done.

Remi J.

unread,
Feb 15, 2016, 10:25:13 AM2/15/16
to api-d...@lists.stripe.com
Hey,

This is not something we have planned at the moment no. If you can't open a new tab then you'd need to build your own payment form at the moment.

All the best,
Remi
Reply all
Reply to author
Forward
0 new messages