1

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?

3

It is still there in:

vendor/magento/module-sales-inventory/Observer/RefundOrderInventoryObserver.php
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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