Does "order_cancel_after" always work?

by zekia   Last Updated July 31, 2018 08:09 AM

I have created a custom module that executes a function when an order is canceled. I am using order_cancel_after event to do this and it works most of the times, but not always.

There's a payment extension, which code is encrypted. When an order is canceled by this payment extension, the order_cancel_after event function is not executed.

Is there any other event I could use? Is order_cancel_after a safe way to track order cancelation?

Related Questions

Update product price before placing order

Updated November 01, 2018 21:09 PM

How to get last generated invoice in magento 1.9

Updated November 10, 2017 08:09 AM

Event to use to fetch Order Id and not Increment Id

Updated April 30, 2018 14:09 PM