Woocommerce sends Order Completed when status is still Processing
-
Hi,
I have a problem with my Woocommerce store. When an order is made, Woocommerce sends the Processing email, which is normal, but also the Order Completed email, even though the order status is still Processing.
The products are simple, physical.
Previously I also had a problem with the orders changing automatically from Processing to Completed, that was resolved adding this code:
/*prevent any orders from autocompleting*/ /* */ add_action( 'woocommerce_thankyou', 'stop_auto_complete_order' ); function stop_auto_complete_order( $order_id ) { if ( ! $order_id ) { return; } $order = wc_get_order( $order_id ); $order->update_status( 'processing' ); }
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Woocommerce sends Order Completed when status is still Processing’ is closed to new replies.