From 94155403fe8e9286bc789ea193e1142387dcee8b Mon Sep 17 00:00:00 2001 From: Jon goldberg Date: Wed, 27 Dec 2017 16:32:39 -0500 Subject: [PATCH] CRM-21609 - Correctly handle PayPalPro recurring payments whose amount doesn't match the initial contribution --- CRM/Core/Payment/PayPalProIPN.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/Payment/PayPalProIPN.php b/CRM/Core/Payment/PayPalProIPN.php index adac726bfa..3cfd93d2a5 100644 --- a/CRM/Core/Payment/PayPalProIPN.php +++ b/CRM/Core/Payment/PayPalProIPN.php @@ -537,6 +537,7 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr $input['net_amount'] = self::retrieve('settle_amount', 'Money', 'POST', FALSE); $input['trxn_id'] = self::retrieve('txn_id', 'String', 'POST', FALSE); $input['payment_date'] = $input['receive_date'] = self::retrieve('payment_date', 'String', 'POST', FALSE); + $input['total_amount'] = $input['amount']; } /** -- 2.25.1