#mshell - Google Pay button
1 messages ยท Page 1 of 1 (latest)
Hello, are you also testing with the same URL each time?
My first guess is that you may be testing both with localhost and with some public https URL. Google Pay requires https so it doesn't show up on localhost tests but will show up if you use ngrok or a hosted page or something
It is on a public server with HTTPS enabled. You can test it by going here: https://howwouldyoudescribeme.org/donate/. Just add any item to the cart, click Proceed to Checkout, then enter any name and email and it will display the payment form.
A free and easy-to-use feedback request tool that will help anyone to receive honest, constructive feedback from the people whose opinions matter most to you.
Thanks for the link. Haven't gotten to check it out yet but will do shortly.
Have you been changing your code between tests when it works vs doesn't work?
Should the Google Pay payment request button appear every time someone views the page with the Chrome web browser (regardless of platform)?
Yep, as long as they have a GPay wallet set up the button should show up
Also, I am getting this error in the console. The strange thing is that I don't have "pay.google.com" anywhere in my code: [Report Only] Refused to compile or instantiate WebAssembly module because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' https://pay.google.com".
๐ Pompey had to step away, give me a moment to catch up ๐
I couldn't find any references to the error on our end, its possible something changed on google's servers.
(PaymentElement's Google Pay integration uses native google pay API underneath)