Updating order status programmatically not sending emails
-
Hi there,
Very simply, I am running:
$order->update_status(‘completed’);
And it is updating the order status to completed, but not sending out the completed email to customers. When I manually set it to completed, it does. Please advise.
Have also tried:
$order->update_status(‘completed’,”,true);
and:
$order->update_status(‘completed’,”,true);
$order->save();and:
$order->set_status(‘completed’);
$order->save();
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Updating order status programmatically not sending emails’ is closed to new replies.