#Mark - Google Pay
1 messages ยท Page 1 of 1 (latest)
Hi ๐
That is entirely dependent on whether the iOS user is signed into Chrome and has Google Pay configured on their account
The restriction is on the browser, not Stripe
okay, so it should be supported
I am logged in and I do have a card configured. And I see the button in Chrome Desktop using this Google account.
And the Card is on your Account? Like you do see Google Pay if you use a Chrome browser with Desktop?
yes, I see the button on Desktop, and I see the card in Chrome iOS settings under Payment Methods
(and its a Google Pay method)
Okay because saved cards in Chrome is not the same as Google Pay and that trips some people up
as far as I can tell the card is available and set up properly. it does trigger the button properly on desktop.
and the Google Pay button shows up on Android Chrome fine as well
just not iOS Chrome
its not a big blocker or anything, I think Google Pay on iOS Chrome is probably a relatively rare thing. but I wanted to make sure I don't have a bug.
I don't think so but I'm not finding any docs on whether it's restricted or not.
Google loads a file called pay.js which first checks the browser and device capabilities and then decides whether to render the button or not
I see the Google Pay method not just in my Google account in the browser, but also in iOS Chrome's Payment Methods in the app, and it is clearly listed as "Google Pay". I'm pretty sure I have it set up correctly.
Okay so the Payment Element is even rendering the Google Pay button?
But when you click on it you do not get the Google Pay interface?
but I get "null" back from stripePaymentRequest.canMakePayment()
no, Stripe is not rendering a button
although it works on the same page in Android Chrome, and Desktop Chrome, with the same user
possibly out of date Stripe npm packages?
I've got:
"@stripe/react-stripe-js": "^1.8.1", "@stripe/stripe-js": "^1.31.0",
The .canMakePayments() function hits the Payment Request API (native browser) and checks whether the browser is configured to make the payment.
Well neither of those support Google Pay AFAIK
maybe iOS Chrome doesn't either?
verified on more than one user, on more than one device
trying to update stripe packages
no difference with latest
well, I'm not going to stress about it, but it seems that it isn't supported for whatever reason.
Yeah, I didn't think so. As I said this is determined by Google's own JS code when loading a page in the browser
๐คทโโ๏ธ
I found this guide but I haven't had a chance to see if it explains the situation (lots of chatter in the channel)
https://support.google.com/googlepay/answer/10189885?hl=en&co=GENIE.Platform=iOS&visit_id=637939394907435248-1099633449&rd=1
To get started with Google Pay, download and set up the Google Pay app.
Totally not your fault! ๐