• Resolved spwebdude

    (@spwebdude)


    Hi team,

    The ApplePay button isn’t showing on the product pages since we upgraded to 4.9.0.

    Is there any issue or steps to take with this new version?

    I confirm that the button shows on the cart page above Proceed to Checkout but not on the individual product pages anymore.

    I checked for plugin conflicts but nothing.

    Thank you,
    G-

    • This topic was modified 4 years ago by spwebdude.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Rob C.

    (@robertocyrino)

    Hi there @spwebdude,

    If the issue is exclusively happening on the product pages (and not on the cart page — where the buttons show properly), I would suspect this issue to be coming from your theme.

    Can you please try using a default WooCommerce theme such as Storefront and see if that works?

    If you have just recently updated WooCommerce, another thing to check would be your WooCommerce database version (you can see it in WooCommerce > Status). Your database version must be the same as your WooCommerce version. If you are seeing different versions, please make sure you have a full backup of your site, and update the WooCommerce database by going to WooCommerce > Status > Tools > Update database.

    Also, please make sure all of your pages are using HTTPS (not only your cart/checkout pages).

    Lastly, if none of that helps, please check for any browser errors on your product pages and get back to us with your findings. Here’s how you can check for errors in the browser’s console: https://www.ads-software.com/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis

    Let us know!

    Thread Starter spwebdude

    (@spwebdude)

    Hello,

    Tried everything you said without any success.

    I am the theme developer. It is a fairly simple theme with a few template functions but no big change. Could you tell me what’s required in order for the button to show on the product page? I’ll check if anything’s missing.

    And THANK YOU for answering that fast. Incredible support, I’ll rate the plugin when I get this resolved.

    thriftyplanet

    (@thriftyplanet)

    hi spwebdude,

    I haven’t had a chance to switch over the template to a base template as Rob requested (I will tomorrow) but to answer your question, to get the google pay button to show up is to simply have this plugin enabled, have stripe in live mode and to check the field that says load the google pay button to load. The apple pay button does require an account with apple. The google pay button I’m assuming was injected in. I did look to see if there were code fragments (and to see if anything was blocked) but there is zero code referencing this google pay button on the single product page. It hasn’t come back yet either (as of the posting of my question, my client had stated they had seen the button that day).

    Edit: So I just tested the template issue. I turned off Avada and turned on a base WP template (Twenty Fifteen) and the button(s) did not return.

    edit: Could you clarify which product you’re the dev of? I may have answered your question incorrectly. Avada is a template that definitely goes out of it’s way to be cohesive with WC.

    For Robert: The console errors that are there, are showing when I’m logged in (it’s an issue with ClickDesk) but they’re gone when checking the site not logged in as an admin. Of the console errors that are there, I have turned plugins on/off and so far no luck.

    It’s digitallimaging.com, not that I’m expecting anyone to peer into that on their own time. The google pay button is usually located to the right of the quantity field.

    thriftyplanet

    (@thriftyplanet)

    Disregard my message guys. I was temporarily under the impression that this was my thread, hence my reply (I’m having similar issues as a user of this plugin and had made a thread about it).

    Mike W

    (@nixiack8)

    Hi @spwebdude,

    Sorry for the late reply on this! I think with the rapid questions on this forum this reply got pushed back to page 4/5 as that is where I found this.

    Reading through it, I know this might sound dumb, but have you tried “turn it off and on again”?

    Go into Stripe settings, uncheck the box for “Payment Request button”, then save settings. Clear cache using the Tools at WooCommerce > Status > Tools (Transients) Then check it again, and resave.

    If this does not work, it is possible something in the theme itself is not working with Stripe. If switching to Storefront or Twenty Twenty/Twenty One shows it, then check this document out for accepting Apple Pay on the site – it has filters/etc. that need to be set to ensure compatibility.

    For @thriftyplanet,

    I took a look at the site, and I am seeing the Google Pay button on it, but not Apple Pay. Double check the setup for Apple Pay as it is very picky in the link above, and if that does not work let us know.

    thriftyplanet

    (@thriftyplanet)

    nvmd, not addressed to me

    Thread Starter spwebdude

    (@spwebdude)

    Hi guys,

    @nixiack8 Thanks for this, I’m going to do what you suggested and keep you posted.

    Hi @spwebdude,

    Any updates? We are very curious ??

    Cheers!

    .

    • This reply was modified 3 years, 12 months ago by WP Darko.
    Thread Starter spwebdude

    (@spwebdude)

    Hi Mike,

    This didn’t work:
    Go into Stripe settings, uncheck the box for “Payment Request button”, then save settings. Clear cache using the Tools at WooCommerce > Status > Tools (Transients) Then check it again, and resave.

    This did:
    If this does not work, it is possible something in the theme itself is not working with Stripe.

    I’ve looked at the document in your message but couldn’t see any required hook for “Stripe”, it says “This section is only required for Authorize.Net, CyberSource, and Moneris“. I’m using Stripe, not any of the others mentioned on this page.

    It appears to be a CSS issue, which still doesn’t really make sense to me. I was hiding several parts of the product pages. This took time to fix as I don’t have access to an Apple device easily and had to work on the live site (don’t think ApplePay would show on a staging or local install).

    Sooorry to have wasted your time, I confirm it was related to the theme and is now fixed.

    • This reply was modified 3 years, 12 months ago by spwebdude.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘ApplePay buttons not showing on product pages since updating to 4.9.0’ is closed to new replies.