Apple Pay and GPay on Checkout only?
-
Hello. It seems by default that when Digital Wallets are enabled, the Apple Pay and GPay buttons are displayed on the product page, cart and checkout page. Is it possible to display the button(s) on the checkout page only please?
-
This topic was modified 1 year, 1 month ago by
spennysimmo.
-
This topic was modified 1 year, 1 month ago by
-
Hi @spennysimmo,
By default, digital wallets (Apple Pay and Google Pay) will be displayed on all single product pages, the cart page and checkout. To remove them from one or more of these pages, you can use the code snippet shared here: https://woo.com/document/woocommerce-square/faq/#section-18
I hope this helps! Please let us know how it goes or if you need further assistance.
Hi Shameem
That worked perfectly thank you. The only issue I am seeing is that whilst the Apple Pay button appears as expected in the checkout, the Gpay button both on desktop and mobile seems to appear twice in the same place. So it appears, flickers and then appears again. It’s like the button is produced on two occasions. Do you know why this would be please?
Hi there @spennysimmo ??
The only issue I am seeing is that whilst the Apple Pay button appears as expected in the checkout, the Gpay button both on desktop and mobile seems to appear twice in the same place. So it appears, flickers and then appears again. It’s like the button is produced on two occasions. Do you know why this would be please?
Just to clarify, are there any other payment gateway plugins, with Digital Wallet functionality, enabled currently, or otherwise?
If so, issues like this might occur. Kindly note, while the plugins mentioned in the previous link are other than WooCommerce Square, a possibility for multiple Google Pay buttons is explained like so, though.
I hope this helps! Should you want us to take a further look into how your site is configured, could you please share a copy of your site’s System Status, as exemplified here? Once you’ve done that, paste it here in your response.
Looking forward to hearing from you!
Hi Pepe
There is Stripe installed but not activated. However the issue isn’t that there are two buttons, there is only one button. The button appears and then for a split sceond disappears and then it reappears. Then it is fine. I am wondering if this could have anything to do with either lazy loading, or CSS/JS optimisation and minification. If this is possible, are you able to advise what should be excluded? Here is the report…
` WordPress Environment WordPress address (URL): https://premierecocards.co.uk<br>Site address (URL): https://premierecocards.co.uk<br>WC Version: 8.5.2<br>REST API Version: ? 8.5.2<br>WC Blocks Version: ? 11.8.0-dev<br>Action Scheduler Version: ? 3.7.1<br>Log Directory Writable: ?<br>WP Version: 6.4.3<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_GB<br>External object cache: – Server Environment Server Info: Apache<br>PHP Version: 8.2.3<br>PHP Post Max Size: 256 MB<br>PHP Time Limit: 30<br>PHP Max Input Vars: 1000<br>cURL Version: 7.58.0<br>OpenSSL/1.1.1 SUHOSIN Installed: –<br>MySQL Version: 10.1.48-MariaDB-0ubuntu0.18.04.1<br>Max Upload Size: 256 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database WC Database Version: 8.5.2<br>WC Database Prefix: wp_<br>Total Database Size: 49.66MB<br>Database Data Size: 32.94MB<br>Database Index Size: 16.72MB<br>wp_woocommerce_sessions: Data: 0.17MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.20MB + Index: 0.09MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.92MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.22MB + Index: 0.44MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.27MB + Index: 0.22MB + Engine InnoDB<br>wp_ai1ic: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_bwg_album: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_album_gallery: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_file_paths: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_gallery: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_image: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_image_comment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_image_rate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_image_tag: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_shortcode: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bwg_theme: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>wp_cky_banners: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_cky_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cky_cookie_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 1.52MB + Index: 0.58MB + Engine InnoDB<br>wp_easywpsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_easywpsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_feedmanager_channel: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_feedmanager_country: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_feedmanager_errors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_feedmanager_feed_status: Data: 0.02MB + Index: 0.16MB + Engine InnoDB<br>wp_feedmanager_field_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_feedmanager_product_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_feedmanager_product_feedmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_feedmanager_source: Data: 0.02MB + Index: 0.16MB + Engine InnoDB<br>wp_huge_itportfolio_images: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_huge_itportfolio_portfolios: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_imagify_files: Data: 0.06MB + Index: 0.08MB + Engine InnoDB<br>wp_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ngg_album: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_ngg_gallery: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_ngg_pictures: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 4.41MB + Index: 1.63MB + Engine InnoDB<br>wp_postmeta: Data: 17.55MB + Index: 7.98MB + Engine InnoDB<br>wp_posts: Data: 2.52MB + Index: 0.55MB + Engine InnoDB<br>wp_responsive_menu: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tm_taskmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_tm_tasks: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_usermeta: Data: 1.52MB + Index: 0.55MB + Engine InnoDB<br>wp_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_w3tc_cdn_pathmap: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_w3tc_cdn_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.09MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.16MB + Index: 0.19MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.13MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpr_rocket_cache: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>wp_wpr_rucss_used_css: Data: 0.06MB + Index: 0.09MB + Engine InnoDB<br>wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yoast_indexable: Data: 0.20MB + Index: 0.09MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.09MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB Post Type Counts acf: 5<br>acf-field: 6<br>acf-field-group: 5<br>attachment: 1013<br>bwg_gallery: 1<br>client: 8<br>custom_css: 2<br>customize_changeset: 7<br>display_type: 7<br>displayed_gallery: 2<br>et_body_layout: 6<br>et_footer_layout: 1<br>et_pb_layout: 29<br>et_template: 16<br>et_theme_builder: 1<br>foogallery: 44<br>maxgallery: 1<br>nav_menu_item: 42<br>ngg_gallery: 4<br>ngg_pictures: 24<br>oembed_cache: 8<br>page: 39<br>post: 1<br>product: 110<br>product_variation: 50<br>revision: 33<br>rmp_menu: 1<br>saswp: 3<br>schema: 2<br>shop_order: 802<br>shop_order_refund: 13<br>sidebar: 10<br>slider: 5<br>tt_font_control: 1<br>wpcf7_contact_form: 5<br>wpforms: 1 Security Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (23) Classic Editor: by WordPress Contributors – 1.6.3<br>Code Snippets: by Code Snippets Pro – 3.6.2<br>WP Image CAPTCHA: by WP Image CAPTCHA – 3.3.12<br>Contact Form 7: by Takayuki Miyoshi – 5.8.6<br>CookieYes | GDPR Cookie Consent: by CookieYes – 3.1.8<br>Custom Related Products for WooCommerce: by Scott Nelle – 1.3<br>Easy WP SMTP: by Easy WP SMTP – 2.2.0<br>Imagify: by Imagify – Optimize Images & Convert WebP – 2.1.3.1<br>Product Import Export for WooCommerce: by WebToffee – 2.4.0<br>Really Simple SSL: by Really Simple Plugins – 7.2.2<br>Schema & Structured Data for WP & AMP: by Magazine3 – 1.26<br>Nimbus Hosting Clear Cache: by Nimbus Hosting – 1.9.1<br>Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder: by Supreme Modules – 2.5.3<br>Divi Supreme Pro: by Divi Supreme – 4.9.86<br>WooCommerce Bulk Discount: by Rene Puchinger – 3.0<br>WooCommerce Stripe Gateway: by WooCommerce – 7.9.1<br>WooCommerce PayPal Payments: by WooCommerce – 2.5.1 (update to version 2.5.2 is available)<br>WooCommerce Square: by WooCommerce – 4.5.0<br>WooCommerce: by Automattic – 8.5.2<br>Yoast SEO: by Team Yoast – 21.9.1<br>Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.9.3<br>WP Rocket: by WP Media – 3.15.8.1<br>WP Rollback: by WP Rollback – 2.0.6 Inactive Plugins (0) Dropin Plugins (1) advanced-cache.php: advanced-cache.php Settings API Enabled: ?<br>Force SSL: ?<br>Currency: GBP (£)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5) Connected to Woo.com: –<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages Shop base: #603 - /shop/<br>Basket: #582 - /basket/<br>Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.<br>My account: #584 - /my-account/<br>Terms and conditions: #828 - /terms-and-conditions/ Theme Name: Divi<br>Version: 4.24.0<br>Author URL: https://www.elegantthemes.com<br>Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build<br>personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? Templates Overrides: – WooCommerce PayPal Payments Onboarded: ?<br>Shop country code: GB<br>WooCommerce currency supported: ?<br>Advanced Card Processing available in country: ?<br>Pay Later messaging available in country: ?<br>Webhook status: –<br>PayPal Vault enabled: –<br>ACDC Vault enabled: –<br>Logging enabled: –<br>Reference Transactions: –<br>Used PayPal Checkout plugin: ?<br>Subscriptions Mode: Disabled Square Environment: Production<br>Tokenization Enabled: –<br>Debug Mode: Off Admin Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-linked<br>settings<br>async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-02-02 11:02:34 +00:00<br>Options: ?<br>Notes: 199<br>Onboarding: completed Action Scheduler Complete: 905<br>Oldest: 2024-01-03 02:33:21 +0000<br>Newest: 2024-02-01 12:30:45 +0000 Failed: 13<br>Oldest: 2022-10-03 11:50:20 +0100<br>Newest: 2024-01-30 19:14:23 +0000 Pending: 3<br>Oldest: 2024-02-02 12:30:45 +0000<br>Newest: 2024-02-07 14:37:19 +0000 Status report information Generated at: 2024-02-01 14:10:43 +00:00<br>`
Hi Pepe
Just to add, the Woocommerce Stripe plugin is active but is hasn’t been enabled within the Payment settings. Only Paypal and Square have been enabled.
-
This reply was modified 1 year, 1 month ago by
spennysimmo.
Hi @spennysimmo,
It’s possible that lazy loading or CSS/JS optimization and minification could be causing this. Because while testing your site’s checkout page, I noticed it taking longer than usual to load the button.
From my experience, this could be resolved by clearing your site and browser’s cache and cookies. You can follow our detailed guide on clearing browser cache here: https://wordpress.com/support/browser-issues/#clearing-your-browser-cache
If the issue persists after clearing the site’s and browser cache, you could try disabling any optimization plugins temporarily to see if the issue persists. If the issue is resolved, you can then enable them one by one to identify the one causing the problem.
Let us know how that goes. Looking forward to helping you.
Thank you
Hi @spennysimmo,
I’m glad we were able to help!
Aside from this, are there any additional features you’d like your online store to offer and would like help finding solutions for or challenges you’ve encountered when managing your store?
Thanks!
-
This reply was modified 1 year, 1 month ago by
- The topic ‘Apple Pay and GPay on Checkout only?’ is closed to new replies.