Please any one help me on this point ,i want to generate a custom mail when get full refund of the order.Any idea on this please help me.i m new in this field..

  • 1
    you can use magento event obser for this. Jun 21, 2019 at 10:32

1 Answer 1


Just write a observer for event sales_order_creditmemo_save_after. In observer check for condition $order->getTotalRefunded() == $order->getGrandTotal()(Full refund condition). And then send email from here.

  • Thank you so much! i will try this method in my code. :)
    – user80516
    Jun 21, 2019 at 11:21

Your Answer

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