Magento had a useful observer class RefundOrderInventoryObserver, which was used to observe sales_order_creditmemo_save_after event.

The class was part of Magento core until Magento 2.1.x, but from Magento 2.2, it has been removed.

Can someone tell me why Magento team dropped this from Magento Core?

Is there any alternative to this class so that I can make some customizations when a credit memo is generated?

1 Answer 1


It is still there in:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.