From e6c1e80b857145fec89528f476327c258f8d9de1 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 26 Mar 2021 13:20:44 +1300 Subject: [PATCH] [Ref] One more place to use total fn --- CRM/Member/Form/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index c435bde729..5e5b834311 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1097,7 +1097,7 @@ DESC limit 1"); $params['register_date'] = CRM_Utils_Time::date('YmdHis'); // add all the additional payment params we need - $formValues['amount'] = $params['total_amount']; + $formValues['amount'] = $this->order->getTotalAmount(); $formValues['currencyID'] = $this->getCurrency(); $formValues['description'] = ts("Contribution submitted by a staff person using member's credit card for signup"); $formValues['invoiceID'] = $this->getInvoiceID(); -- 2.25.1