From 7939186e3d5c026419dfc56d41c4373d0799faac Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Wed, 4 Jun 2025 17:25:18 +0530 Subject: [PATCH] =?UTF-8?q?Fixed:=20total=20amount=20in=20order=20?= =?UTF-8?q?=E2=80=9Cawaiting=20payment=E2=80=9D=20email?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/PaymentModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index 409d383db..3bd058ae9 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -1342,7 +1342,7 @@ abstract class PaymentModuleCore extends Module '{products_txt}' => $product_list_txt, '{discounts}' => $cart_rules_list_html, '{discounts_txt}' => $cart_rules_list_txt, - '{total_paid}' => Tools::displayPrice($total_paid, $this->context->currency, false), + '{total_paid}' => Tools::displayPrice($order->total_paid, $this->context->currency, false), '{total_products}' => Tools::displayPrice($total_products, $this->context->currency, false), '{total_discounts}' => Tools::displayPrice(-$order->total_discounts, $this->context->currency, false), '{total_shipping}' => Tools::displayPrice($order->total_shipping, $this->context->currency, false),