From 7fe06854f72e961a671b79ccccfa81f97447dc09 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Fri, 1 Apr 2022 15:28:09 +0100 Subject: [PATCH] Subscription Amount change not respected in Paypal --- CRM/Core/Payment/PayPalIPN.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/Payment/PayPalIPN.php b/CRM/Core/Payment/PayPalIPN.php index 4a23cacdd6..571bca04c3 100644 --- a/CRM/Core/Payment/PayPalIPN.php +++ b/CRM/Core/Payment/PayPalIPN.php @@ -305,6 +305,7 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN { $input['paymentStatus'] = $this->retrieve('payment_status', 'String', FALSE); $input['invoice'] = $this->retrieve('invoice', 'String', TRUE); $input['amount'] = $this->retrieve('mc_gross', 'Money', FALSE); + $input['total_amount'] = $this->retrieve('mc_gross', 'Money', FALSE); $input['reasonCode'] = $this->retrieve('ReasonCode', 'String', FALSE); $lookup = [ -- 2.25.1