WordPress – Woocommerce programmed order does not trigger confirmation email
I create a woordpress plugin that generates a code, links it to a downloadable virtual product. I use this code, once validated to create a woocommerce order in php. When I change the order status the email is never sent…