Skip to content

Commit

Permalink
CRM-21609 - Correctly handle PayPalPro recurring payments whose amoun…
Browse files Browse the repository at this point in the history
…t doesn't match the initial contribution
  • Loading branch information
MegaphoneJon committed Dec 27, 2017
1 parent 9272fab commit 9415540
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Core/Payment/PayPalProIPN.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}

/**
Expand Down

0 comments on commit 9415540

Please sign in to comment.