gpay button not appearing as an option at checkouts
-
I have set-up gpay as a payment method in the plugin settings and in Payment method domains, but the gpay button does not appear as an option on the website checkout page. I am not sure what I need to do to fix this.
The page I need help with: [log in to see the link]
-
Hi @dwoott,
Greetings from Webtoffee!
Use the Stripe demo link to verify whether your browser is eligible for Google Pay. If Google Pay is not displayed in this link, then your browser is not configured properly for Google Pay compatibility.
If Google Pay is visible, then make sure you select Webtoffee configuration as default in your Stripe account.Please follow these steps:
- Navigate to the Developers section in your Stripe dashboard.
- Select Payment Settings.
- Ensure that the WebToffee configuration is selected as the default configuration.
Verify that all required payment methods, including Google Pay, are enabled within the Webtoffee configuration settings.
Thank you for the above details. I have checked the demo link on a Chrome browser which shows eligibility for Google Pay. I checked my settings in the Stripe Dashboard, and Webtoffee was already selected as the default, and Google Pay (and Apple Pay) already selected as Active.
I have tried again adding an item to a cart on my site via Chrome, however Google Pay (and Apple Pay) buttons do not appear in the Checkout page. Please let me know if there is anything else I need to check.
HI @dwoott,
Since you’ve confirmed that Google Pay and Apple Pay are enabled in your Stripe Dashboard and that your browser shows eligibility, let’s go through some additional checks to resolve this issue.
Ensure Express Payment Request Buttons Are Enabled in the plugin settings.
Disconnect and reconnect the Stripe App.
Test Using an Incognito Window
• Open Chrome Incognito Mode and try again.
• Some browser extensions or caching issues may interfere with button visibility.
Ensure HTTPS Is Enabled
• Google Pay and Apple Pay require a secure connection (HTTPS).
• If your site is not running on HTTPS, the buttons may not display.
Clear Cache & Disable Optimization Plugins
• If you use a caching or performance plugin (like WP Rocket, Autoptimize), try disabling them temporarily and check again.
• Clear your browser cache and site cache.
Thank you for your help.
I had a look in the plugin settings, and the field for ‘G Pay/Apple Pay button height’ was set at 35 which was below the required value of between 40 and 55. I have updated this to 45, and Google Pay button now appears on the Checkout page
For Apple Pay, today I uploaded the ‘domain association file’ to my site host, which may take a couple of days for Apple Pay to verify. Once verification is complete, ideally the Apple Pay button will show on Checkout page.
Over the last couple of days, I have had two customers make purchases via Stripe with GooglePay and Apple Pay.
However, in WooCommerce the orders were stuck in ‘payment pending’ status, even though payment confirmation/completion receipts had been received from Stripe. I was able to manually update both orders from ‘payment pending’ to ‘processing’ status. But with the Google Pay order, WooCommerce does not seem to recognise the item is now paid, and when looking at total revenue received for the month, it is down by the amount on that order paid with Google Pay.
Is there something I need to do/update to ensure orders are automatically updated to ‘processing’ after a customer has paid via Google Pay and Apple Pay? Ideally this would also fix the issue of a Google Pay orders being recognized as paid/revenue in WooCommerce.
HI @dwoott,
Will you be able to share the eh_pay_stripe_live logs from WooCommerce ->Status -> Logs and any relevant Stripe logs from Stripe -> Dashboard ->Developers -> Logs privately using this link so that we can debug the issue and work on a solution?
I have provided information privately at the above link, reference#80620.
Please let me know if more information is needed.
Hi @dwoott ,
Thank you for providing the logs. After reviewing them, we found that the issue was caused by the webhook secret not being correctly configured on your site. Stripe uses webhooks to notify WooCommerce about charge statuses and update the order status for payment methods like Google Pay and Apple Pay. Without this communication, WooCommerce doesn’t recognize that the payment has been completed, which is why the order status remains stuck in ‘payment pending.’
Once you configure the webhook secret correctly, this issue will be resolved.
Please refer to this article for detailed instructions on how to configure the webhook secret:
How to Add the Webhook Secret to Stripe in WooCommerceLet us know if you need further assistance or have any other questions!
Thank you @webtoffeesupport ,
The webhook secret has now been configured in my account as per the instructions in the article.
Appreciate your assistance!
- You must be logged in to reply to this topic.