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,
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 2 hours, 11 minutes ago by kamran1331.
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?
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.