From: Jon goldberg Date: Tue, 28 Nov 2017 21:15:30 +0000 (-0500) Subject: CRM-21492 - Don't reject recurring contributions whose amount is different from the... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1fe17acfaf2e9c2a7279ac2851ee51286ef1c4d2;p=civicrm-core.git CRM-21492 - Don't reject recurring contributions whose amount is different from the initial amount --- diff --git a/CRM/Core/Payment/AuthorizeNetIPN.php b/CRM/Core/Payment/AuthorizeNetIPN.php index 2b87415b19..966cffa7ec 100644 --- a/CRM/Core/Payment/AuthorizeNetIPN.php +++ b/CRM/Core/Payment/AuthorizeNetIPN.php @@ -118,14 +118,6 @@ class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN { return FALSE; } - // At this point $object has first contribution loaded. - // Lets do a check to make sure this payment has the amount same as that of first contribution. - if ($objects['contribution']->total_amount != $input['amount']) { - CRM_Core_Error::debug_log_message("Subscription amount mismatch."); - echo "Failure: Subscription amount mismatch

"; - return FALSE; - } - $contributionStatus = CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name'); $transaction = new CRM_Core_Transaction();