You can observe sales_order_save_after and then check for the order state you are targeting with something like this: public function ...
magento 2 order status change event & sales_order_save_after observer. Create a file events.xml in app/code/[Namspace]/[Module_Name]/etc
I want to observe every order state change and react depending on the old and new status. What is the best way to accomplish this in Magento 2?
Solved: Hey, I managed to do a module and it is working as I can see, but I need an event that start on order status change. In this case I need ...
to hook into a new event called " sales_order_status_change" which will be fired after all kinds of order status changes.
This is not what I need. Is there an event to catch an order status change (the order status is changed from processing to complete after an API ...
How to Get Order Status in sales_order_place_after event in Magento 2. Ordering and receiving products at home are easy and look simple but ...
Override magento Mage_Sales_Model_Order using or Copy app/code/core/ Mage/Sales/Model/Order.php. to
File: vendor/magento/module-sales/Model/Order/Status.php.
I think the problem here is the event you are triggering. There is no event like sales_order_status_change , You should try with ...