• Resolved kamran1331

    (@kamran1331)


    This error is generated in connection with several plugins and theme (Woodmart), the list of all plugins that must be active to get duplicate orders are these:
    ATUM Inventory Management for WooCommerce
    Germanized for WooCommerce
    Germanized for WooCommerce Pro
    Germanized for WooCommerce: One Stop Shop
    Payment Plugins for Stripe WooCommerce
    vendidero Helper
    WooCommerce
    WooCommerce Multilingual & Multi-Currency
    Woodmart Core
    WPML Multilingual CMS
    WPML SEO
    WPML String Translation

    One of them was for example: WPML, there I opened bug (https://wpml.org/de/forums/topic/probem-checkout-page/), after analysis I was sent to you. WPML tells that something is implemented wrong.

    Bug video how to re-produce: https://drive.google.com/file/d/1OdocvRhVTYo0RkIDD_bGD5ZjqKK4RDof/view?usp=share_link

    • This topic was modified 1 year, 8 months ago by kamran1331.

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

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

    (@mrclayton)

    Hi @kamran1331

    Thanks for the video. I can confirm that this behavior is not being caused by the Stripe plugin. Per our email conversations, WooCommerce controls the logic of when a new order is created. Here is a thread explaining that.

    You most likely have a plugin that’s using the filter woocommerce_cart_hash to force a new order to be created when the payment method is changed.

    I am sure if you test another Stripe plugin, using something like IDEAL and SOFORT, you will observer the exact same behavior. That’s because this isn’t being caused by the Stripe plugin.

    Kind Regards,

    Thread Starter kamran1331

    (@kamran1331)

    Hello @mrclayton, Unfortunately this is not true, this time nothing is changed in shopping cart. No changes are made. If I take Stripe plugin from Woocommerce then this error is also gone. Just like when other plugin are disabled. This comes exactly in this constellation that I described. It has nothing to do with error I reported before with country change unfortunately.

    • This reply was modified 1 year, 8 months ago by kamran1331.
    Plugin Author Payment Plugins

    (@mrclayton)

    It has nothing to do with error I reported before with country change unfortunately

    It does though, because that is the exact location within WooCommerce where the code determines if a new order should be created or if the order ID saved in the session should be used. All of that functionality is related.

    The response from WPML doesn’t make sense, at least the English translation of it. WPML is stating that the issue is caused by the webhook. Webhooks don’t interact with the customer session nor the WooCommerce functionality related to when an order is created.

    If I take Stripe plugin from Woocommerce then this error is also gone.

    You have to make sure you’re testing the exact same scenario. You need to test two payment methods which trigger a redirect to the hosted payment page. Then when cancelled, return you back to the checkout page. Is that how you tested?

    Thread Starter kamran1331

    (@kamran1331)

    Something has changed, you are right after I tested again with Stripe from Woocommerce this behavior is very similar. So I will contact Woocommerce then.

    I am sorry for the wasted time.

    Thread Starter kamran1331

    (@kamran1331)

    This Problem is resolved from WPML:

    There was a setting problem here, in relation to product file attachments, which I have now adjusted under WPML > Settings > Translate custom fields > Show system field.

    The affected fields were:

    _downloadable_files = copy
    _wp_attached_file = translate

    You can generally find detailed information about such problems under WooCommerce > WooCommerce Multilingual & Multi & Currency > Status.

    https://wpml.org/de/forums/topic/doppelte-bestellungen/#post-13225693

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duplicate orders are generated’ is closed to new replies.