- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020
07:34 AM
07-30-2020
07:34 AM
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.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020
08:06 AM
07-30-2020
08:06 AM
Actually figured it out. For anyone interested, I had to use
{{trans "%total" total=$order.getGrandTotal()}}
instead.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020
08:06 AM