From: Francis Whittle Date: Tue, 22 Jun 2021 00:57:07 +0000 (+1000) Subject: CIVICRM-1784 Reinstate invoiceID param to membership renewal payment X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fe0a6c7cf0dd9025da86297e633f92c831312b2e;p=civicrm-core.git CIVICRM-1784 Reinstate invoiceID param to membership renewal payment Fixes a compatibility regresson introduced for 5.36 --- diff --git a/CRM/Member/Form/MembershipRenewal.php b/CRM/Member/Form/MembershipRenewal.php index e233464f4b..4b0fdbe072 100644 --- a/CRM/Member/Form/MembershipRenewal.php +++ b/CRM/Member/Form/MembershipRenewal.php @@ -553,6 +553,8 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { $paymentParams = array_merge($paymentParams, $contributionRecurParams); } + $paymentParams['invoiceID'] = $paymentParams['invoice_id']; + $payment = $this->_paymentProcessor['object']; $result = $payment->doPayment($paymentParams); $this->_params = array_merge($this->_params, $result);