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 adac726bfa88..3cfd93d2a532 100644 --- a/CRM/Core/Payment/PayPalProIPN.php +++ b/CRM/Core/Payment/PayPalProIPN.php @@ -537,6 +537,7 @@ public function getInput(&$input, &$ids) { $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']; } /**