weblex
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @judaguter
I think I fixed the problem. I have changed the webhook script and it seems the problem was in the line: $order = wc_get_order( $order_id ); After removing it, there are no more problems.
Thanks for the help and tips. You can now close the topic.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @carolm29
Thank you for the answer.
I understood what the problem was. If the customer successfully pays in the bank, a webhook is sent information about order status. When the customer returns to the “Thank you”-page, order status will be changed again. That’s why there’s a double status change and double mail send.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @carolm29
The problem is only with orders with “Processing” status. Orders with “Partially Paid” status are not duplicated and is perfectly fine.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @anastas10s
I mean something like this: https://snipboard.io/1WckXZ.jpg.
Or this: https://snipboard.io/f3Lunl.jpgI think the issue with double sending mails is related with this case. Why does WooCommerce confirm order twice?
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @omarfpg.
I am sure that the problem is not with this plugin, because in my test I use the same plugin and there are no problems, it means that all the mails come one at a time.
Yes, the common thing for everyone is that under order notifications, all notifications are double. Such a feeling that the client ordered twice, but actually paid only once.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @shameemreza.
Thank you for reply!
There is link with WC fatal error log: https://paste.mozilla.org/BV74nm5e
And there is link with WP mail Logging plugin log: https://paste.mozilla.org/oD1KX5jGAs you can see, sometimes letters are sent one by one and sometimes two letters are sent with the same order number.
Forum: Plugins
In reply to: [WooCommerce] Confirmations are sometimes sent email twice for a new orderHello @ckadenge
Thank you for quick reply!
There is link with information: https://gist.github.com/MarekWebleX/cf2b2ce824361f72241d0b7083e78db7
- This reply was modified 9 months ago by weblex.