• Resolved e4deal

    (@e4deal)


    Hello

    When applepay is enabled on our site the cart does not function as it should. When you add a product to cart from a product detail page and then add a different product from another product detail page only the 2nd product added shows in the basket with qty 2. Adding to cart from category pages works fine however. It took us a long time to diagnose the issue since we see no console errors but once you disable applepay the issue resolves. We are using the elessi.nasatheme. For now we will be disabling the plugin and using another solution so we have not provided our website url. Thought we would post on here in case you have any ideas.

    Thank you.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @e4deal

    This issue is caused by plugins or themes that improperly handle the WooCommerce cart object. There are certain actions like woocommerce_before_calculate_totals which pass the WooCommerce cart instance. Some plugin use the global cart instance instead of the instance past to that action which can cause the behavior you’re observing.

    This isn’t an issue caused by this plugin, it’s just exposed by this plugin because our code performs a different cart calculation than other Stripe plugins. We do this for very specific reasons and it’s one of the reasons why for example, our plugin integrates with Product Add On plugins better than other payment integrations.

    Kind Regards,

    Thread Starter e4deal

    (@e4deal)

    Hi

    Okay thanks, so it simply does not work with some carts? No workaround?

    Kind regards

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @e4deal

    No workaround?

    I believe you have multiple options.

    1. Turn of Apple Pay on your product pages which will resolve the issue. It’s caused by the cart calculation required on the product page when using express payment methods like Apple Pay.
    2. Create a support ticket via our plugin’s Help Widget and we can review which plugin is causing that behavior. We then contact the developers of said plugin and inform them of the correct way to use the WooCommerce cart instance.

    We’ve informed several plugin developers of that and they have fixed the issue in the past.

    Kind Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.