I need to add a custom variable based on payment method to credit memo email. I captured the event email_creditmemo_set_template_vars_before in my custom module, Which was dispatched on MagentoSalesModelOrderCreditmemoSenderEmailSender.php. I need to add my custom variable showrefund to bellow set. $transport = [ 'order' => $order, 'creditmemo' => $creditmemo, 'comment' […]