Listening all states of order change:
sales_order_save_after
: What's the best event/way to listen for all order state changes in Magento 2?What's the best event/way to listen for all order state changes in Magento 2?. There are some default states:new, pending_payment, processing, complete, closed, canceled, holded, payment_review
.For shipment event, we can use:
sales_order_shipment_save_after