#mattwt-google-pay

1 messages · Page 1 of 1 (latest)

idle plank
#

Do you have a site I can where I can see the issue myself

cerulean gust
#

I do not - its local dev setup

#

Did you see my screenshot?

idle plank
#

Yes, I saw the screenshot - but there isn't a ton of information off of there to work with

#

Just to check - you are serving your application over https, correct?

cerulean gust
#

I am using https - non https flags a bunch of warnings in console as you'd expect

idle plank
#

yup

#

do you see any errors in your console (the screenshot cut off the full console output)

cerulean gust
#

no errors, paymentRequest.canMakePayment().then(function (result) {
console.log(result);

gives

{applePay: false, googlePay: true}

idle plank
cerulean gust
#

I do yes

idle plank
#

Okay, to me that points to something being wrong with your specific google pay setup, not with your code

#

Let me search around to see if anyone else has hit this before

cerulean gust
#

Great thanks for checking into it

idle plank
#

when you click the button are you seeing any failing requests in your network tab?

cerulean gust
#

nope, when i click the g.pay button i get about 10ish 200's

idle plank
#

That really is odd - do you happen to have access to another device that you could try testing this out on?

cerulean gust
#

I'll give it a go on my home pc later, can I reply to this thread?

idle plank
#

Yes, you should be able to reply to this thread (if the thread has been closed by that point, you can ask someone in the main channel to reopen it)

cerulean gust
#

thanks

idle plank
cerulean gust
#

yeap - i have 10 on file

idle plank
#

That's very strange - given that you're seeing it happen on both your local implementation of the payment request button and our public docs example it does indicate something specifically is wrong with the google pay configuration, but I would expect there to be some kind of errors or indication of what was wrong in the console or network reqeusts

cerulean gust
#

it does time out after a few mins

idle plank
#

Ah - let me see what I can find on that

cerulean gust
#

ill let you know in a few mins

#

yeap it also times out there

idle plank
#

got it - let me ask around

idle plank
#

Quick question - where country are you located (we're trying to eliminate the possibility that this is a country-specific limitation)? Also, can you try logging out and logging back in (just to see if that helps)?

cerulean gust
#

UK

idle plank
#

Gotcha - yeah I wouldn't expect there to be issues for the UK. if logging out/logging in doesn't help, definitely try on a different device(like I suggested earlier)

cerulean gust
#

yeap, same chrome profile/version on my home pc works fine

potent frost
#

Hi 👋
Were you able to try logging out of your Chrome profile on the offending browser and logging back in to see if the behavior continued?

dawn acornBOT
#

This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

foggy sierra
#

Hi @cerulean gust what is your question?

cerulean gust
#

just an update on this, my work pc which had this issue now does this

opaque monolith
#

There must be some kind of configuration issue with your Google/Google Pay account. Have you tried in an Incognito window/disabling extensions?

cerulean gust
#

awesome - yeap it was an extension to auto refresh page, removed it and working

opaque monolith
#

Nice, probably blocking some Google JavaScript!