Support » Plugin: WooCommerce Stripe Payment Gateway » Single Product Page payment requests looks ar cart

  • Resolved sitelabs

    (@sitelabs)


    Payment request button on “Single Product Page” not working properly.

    When performing a Apple Pay payment at first the payment shows correct but a second later it seems information from the cart is loaded (instead of the single product). If the cart is empty the payment turns to 0, if there is a product (a completely different product) in the cart, it takes the information from the cart.

    See this video for more information: https://youtu.be/k9CLhJ2eV7g

    At this moment the payment request button is turned off at single product page but on request can be turned on again.

    Thanks for any help in advance!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Aashik P – a11n

    (@aashik)

    Hello @sitelabs

    Can you please confirm if this is specific to Apple Pay, or you can replicate this behavior on both Apple Pay and Google Pay?

    I tested the Google Pay button, but could not replicate what you’ve shared in the video.

    Along with that, could you please also share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.

    Thread Starter sitelabs

    (@sitelabs)

    Hello @aashik ,

    The problem is the same for gPay although only visible in the next screen. See video: https://youtu.be/9RszC8qDhQc

    System Status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.teslabs.nl
    Site address (URL): https://www.teslabs.nl
    WC Version: 5.6.0
    REST API Version: ✔ 5.6.0
    WC Blocks Version: ✔ 5.5.1
    Action Scheduler Version: ✔ 3.2.1
    WC Admin Version: ✔ 2.5.1
    Log Directory Writable: ✔
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: nl_NL
    External object cache: ✔
    
    ### Server Environment ###
    
    Server Info: Apache/2
    PHP Version: 7.4.22
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 3000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 10.3.24-MariaDB-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.6.0
    WC Database Prefix: wp_
    Totale databasegrootte: 20.98MB
    Database datagrootte: 16.00MB
    Database index grootte: 4.98MB
    wp_woocommerce_sessions: Data: 2.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 1.02MB + Index: 0.52MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_ewwwio_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_feedmanager_channel: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_feedmanager_country: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_feedmanager_feed_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_feedmanager_field_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_feedmanager_product_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_feedmanager_product_feedmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_feedmanager_source: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gglcptch_allowlist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_irecommendthis_votes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 3.17MB + Index: 0.08MB + Engine InnoDB
    wp_postmeta: Data: 3.33MB + Index: 1.86MB + Engine InnoDB
    wp_posts: Data: 4.41MB + Index: 0.28MB + Engine InnoDB
    wp_sc_delivery_methods: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_sc_delivery_zones: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_seopress_significant_keywords: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcrw_request_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcrw_request_product_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcrw_warranty_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_warranty_products: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_webwinkelkeur_invite_error: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpr_rucss_resources: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wpr_rucss_used_css: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.28MB + Index: 0.11MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 273
    br_product_filter: 1
    cf7sg_page: 4
    custom_css: 1
    customize_changeset: 5
    handleidingen: 6
    nav_menu_item: 73
    page: 21
    popup: 2
    popup_theme: 8
    post: 8
    product: 37
    product_variation: 36
    revision: 903
    seopress_schemas: 1
    shop_coupon: 7
    shop_order: 36
    shop_order_refund: 3
    uncodeblock: 15
    wpcf7_contact_form: 11
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (34) ###
    
    Contact Form 7 Extension For Mailchimp: door Renzo Johnson – 0.5.43
    Contact Form 7: door Takayuki Miyoshi – 5.4.2
    Custom Post Type UI: door WebDevStudios – 1.9.2
    Google Tag Manger voor WordPress: door Thomas Geiger – 1.13.1
    Email Address Encoder: door Till Krüss – 1.0.22
    Facebook for WooCommerce: door Facebook – 2.6.1
    Featured Images in RSS for Mailchimp & More: door 5 Star Plugins – 1.5.8
    reCaptcha by BestWebSoft: door BestWebSoft – 1.64
    Imagify: door WP Media – 1.10
    Insert Headers and Footers: door WPBeginner – 1.6.0
    Jetpack: door Automattic – 10.0
    Kadence WooCommerce Email Designer: door Kadence WP – 1.4.7
    Google Ads & Marketing by Kliken: door Kliken – 1.0.7
    Loco Translate: door Tim Whitlock – 2.5.3
    Mailchimp voor WooCommerce: door Mailchimp – 2.5.2
    Redis Object Cache: door Till Krüss – 2.0.21
    Uncode Core: door Undsgn – 2.4.0.3
    Uncode WPBakery Page Builder: door Michael M - WPBakery.com – 6.7.0
    Uncode Privacy: door Undsgn – 2.1.3
    Uncode Wireframes: door Uncode – 1.2.1
    WebwinkelKeur: door Albert Peschar – 3.13
    WPC Product Bundles for WooCommerce (Premium): door WPClever – 5.8.1
    WooCommerce Stripe Gateway: door WooCommerce – 5.4.0
    WooCommerce PDF Invoices & Packing Slips: door Ewout Fernhout – 2.9.3
    WooCommerce PDF Invoices & Packing Slips Professional: door Ewout Fernhout – 2.9.2
    WooCommerce PDF Invoices & Packing Slips Premium Templates: door Ewout Fernhout – 2.13.0
    WooCommerce: door Automattic – 5.6.0
    WP Maintenance Mode: door Designmodo – 2.4.1
    WP Product Feed Manager: door Michel Jongbloed – 1.34.0
    WP Rocket | Varnish IP: door WP Rocket Support Team –
    WP Rocket: door WP Media – 3.9.2
    SEOPress PRO: door SEOPress – 5.1.0
    SEOPress: door SEOPress – 5.1.0
    WP Overnight Sidekick: door Jeremiah Prummer
    Ewout Fernhout
    Michael Kluver – 2.4.0
    
    ### Inactive Plugins (3) ###
    
    Popup Maker: door Popup Maker – 1.16.2
    Sendcloud | Smart Shipping Service: door Sendcloud B.V. – 2.0.3
    WooCommerce Shipping & Tax: door WooCommerce – 1.25.18
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Redis Object Cache Drop-In
    
    ### Must Use Plugins (1) ###
    
    installatron_hide_status_test.php: door  –
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    woosb (woosb)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: ✔
    
    ### WC Pages ###
    
    Winkelbasis: #6 - /producten/
    Winkelmand: #7 - /winkelwagen/
    Afrekenen: #8 - /afrekenen/
    Mijn account: #9 - /mijn-account/
    Algemene voorwaarden: #617 - /klantenservice/algemene-voorwaarden/
    
    ### Theme ###
    
    Name: Uncode Child
    Version: 1.0.0
    Author URL: http://www.undsgn.com
    Child Theme: ✔
    Parent Theme Name: Uncode
    Parent Theme Version: 2.4.0.3
    Parent Theme Author URL: http://www.undsgn.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: uncode/woocommerce/archive-product.php
    uncode/woocommerce/cart/cart-item-data.php
    uncode/woocommerce/cart/mini-cart.php
    uncode/woocommerce/checkout/thankyou.php
    uncode/woocommerce/content-product-cat.php
    uncode/woocommerce/content-product.php
    uncode/woocommerce/content-single-product.php
    uncode/woocommerce/global/form-login.php
    uncode/woocommerce/global/quantity-input.php
    uncode/woocommerce/loop/add-to-cart.php
    uncode/woocommerce/loop/loop-end.php
    uncode/woocommerce/loop/loop-start.php
    uncode/woocommerce/loop/pagination.php
    uncode/woocommerce/myaccount/form-edit-account.php
    uncode/woocommerce/myaccount/form-login.php
    uncode/woocommerce/myaccount/form-lost-password.php
    uncode/woocommerce/myaccount/form-reset-password.php
    uncode/woocommerce/myaccount/my-account.php
    uncode/woocommerce/myaccount/orders.php
    uncode/woocommerce/notices/error.php
    uncode/woocommerce/notices/notice.php
    uncode/woocommerce/notices/success.php
    uncode/woocommerce/order/order-details-customer.php
    uncode/woocommerce/order/order-details.php
    uncode/woocommerce/product-searchform.php
    uncode/woocommerce/single-product/add-to-cart/external.php
    uncode/woocommerce/single-product/add-to-cart/grouped.php
    uncode/woocommerce/single-product/add-to-cart/simple.php
    uncode/woocommerce/single-product/add-to-cart/variable.php
    uncode/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    uncode/woocommerce/single-product/meta.php
    uncode/woocommerce/single-product/price.php
    uncode/woocommerce/single-product/product-image.php
    uncode/woocommerce/single-product/product-thumbnails.php
    uncode/woocommerce/single-product/rating.php
    uncode/woocommerce/single-product/related.php
    uncode/woocommerce/single-product/review.php
    uncode/woocommerce/single-product/share.php
    uncode/woocommerce/single-product/tabs/additional-information.php
    uncode/woocommerce/single-product/tabs/description.php
    uncode/woocommerce/single-product/tabs/tabs.php
    uncode/woocommerce/single-product/up-sells.php
    uncode/woocommerce/single-product-reviews.php
    uncode/woocommerce/single-product.php
    uncode/woocommerce/taxonomy-product-cat.php
    
    ### Action Scheduler ###
    
    Afgerond: 1.243
    Oldest: 2021-07-30 13:49:47 +0200
    Newest: 2021-08-30 09:28:13 +0200
    
    In afwachting: 1
    Oldest: 2021-08-31 00:54:59 +0200
    Newest: 2021-08-31 00:54:59 +0200
    
    ### Status report information ###
    
    Generated at: 2021-08-30 09:29:52 +02:00
    
    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hi @sitelabs,

    Thanks for the status report. Looks like you have few caching plugins, in addition to your hosts caching. Are you able to disable all the caching plugin (WP-rocket?) you have installed and test this again?

    Do keep us posted on how this troubleshooting works out for you.

    Thread Starter sitelabs

    (@sitelabs)

    Hey @simplysaru ,

    I disabled WP Rocket, still exact same issue, at initial glimpse the correct product shows up in the Apple Pay window, then after it’s done “processing” it shows 0 (if cart is empty) or the content of the cart.

    Regards,
    Sander

    Thread Starter sitelabs

    (@sitelabs)

    I will leave it enabled until 16:30 (CET / UTC+01:00).

    Regards,
    Sander

    Thread Starter sitelabs

    (@sitelabs)

    Bump.

    Plugin Support wbrubaker.a11n

    (@wbrubaker)

    I’m not able to reproduce this on a testing site here: https://wctesting.tk/shop nor am I able to find any reports of this caused by WooCommerce Stripe in the issue tracker here: https://github.com/woocommerce/woocommerce-gateway-stripe/issues

    This leads me to believe that the behavior that you are experiencing is caused by something external to WooCommerce and Stripe.

    If you are able to reproduce this under the following conditions:

    1. An unmodified, default WordPress theme such as Twenty Twenty or Storefront active.
    2. No other plugins except for WooCommerce and Stripe active.

    Please do let us know and we can take a closer look.

    We do understand that placing a site under those conditions may be disruptive. Many people maintain a staging copy of their site for exactly this purpose. That way, testing, and troubleshooting can be done on the staging copy without disrupting the operation of the live site. If your host does not provide an easy way to set up a staging site, you might want to use something like the WP Staging plugin for this purpose.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Single Product Page payment requests looks ar cart’ is closed to new replies.