How can I let my users pick between Google Pay and Apple Pay?

569 views
Skip to first unread message

sadelbrid

unread,
Oct 18, 2018, 12:49:33 PM10/18/18
to Stripe API Discussion
It seems that the processes for implementing Google Pay and Apple Pay on my website are identical. On the Stripe Docs page it gives the same text under Apple Pay and Google Pay:

"You can start accepting Apple/Google Pay payments on the web using Stripe.js and Elements. Refer to our Payment Request Button documentation to learn how to add Apple Pay to your site."

I followed those steps but I haven't seen anything that distinguishes one payment method from the other. I want my user's to be able to pick which one they use. How do I distinguish them for my users and ensure they use the payment method of choice

Remi J.

unread,
Oct 18, 2018, 1:02:08 PM10/18/18
to api-d...@lists.stripe.com
Hello,

At the moment, Apple Pay is available on Safari and Google Pay is available on Chrome. This means your users would not have to choose directly, and instead would choose implicitly based on the browser they are using. In cases where the browser supports multiple payment methods, it (the browser) would ask the customer which one they want to use, it's not something that you would need to control yourself and it would just work!

I hope this helps!
Remi


--
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/.

Borge Strand-Bergesen

unread,
Oct 19, 2018, 10:44:05 AM10/19/18
to api-d...@lists.stripe.com
It would be a desirable to be able to choose among them. ApplePay being available means a card is registered in a wallet. On the Vivaldi browser on my PC I get this hideous purple payment button with no registered credit card behind it. I'd rather disable that one, and have the choice to only enable it when the user experience (looks and convenience) have been well established. 

Best,
Børge

Børge Strand-Bergesen
bo...@henryaudio.com | Mobile: +47 90 63 99 18
www.henryaudio.com


Remi J.

unread,
Oct 19, 2018, 11:55:27 AM10/19/18
to api-d...@lists.stripe.com
Hello Børge,

Unfortunately that's not something that browsers support today and you can only check if it supports the payment API using canMakePayment() [1]. You can also style your own button on the Vivaldi browser or other browsers if you prefer though you have to be careful for Apple Pay as they have stricter guidelines around what the UI must look like.

Best,
Remi

sadelbrid

unread,
Oct 19, 2018, 3:01:04 PM10/19/18
to Stripe API Discussion
Thanks for the help!
Reply all
Reply to author
Forward
0 new messages