Hello,
I have problem with {total_tax_paid} in confirmation mail. I added this line into PaymentModule.php
'{total_tax_paid}' => Tools::displayPrice(($order->total_products_wt - $order->total_products) + ($order->total_shipping_tax_incl - $order->total_shipping_tax_excl), $this->context->currency, false));
Into order_conf.txt I added Total tax paid: {total_tax_paid} and html code into order_conf.html and I still have a error in email.
Can you help me?