I was using the following to include the total purchase amount in the subject line of the order confirmation emails.
{{trans "%total" total=$order.getBaseTotalPaid()}}
I was using the official Authorize.net Magento extension and the order totals appeared in the subject of the order emails.
I had to revert back to the basic Authorize.net Magento implementation after issues with the extension (Stores-Configuration-Sales-Payment Methods-Authorize.net (Deprecated), and now the total is no longer appearing.
I cannot figure out what code to use in place of $order.getBaseTotalPaid() to get it working again.
Any help would be greatly appreciated.
Solved! Go to Solution.
Actually figured it out. For anyone interested, I had to use
{{trans "%total" total=$order.getGrandTotal()}}
instead.