From fe0a6c7cf0dd9025da86297e633f92c831312b2e Mon Sep 17 00:00:00 2001 From: Francis Whittle Date: Tue, 22 Jun 2021 10:57:07 +1000 Subject: [PATCH] CIVICRM-1784 Reinstate invoiceID param to membership renewal payment Fixes a compatibility regresson introduced for 5.36 --- CRM/Member/Form/MembershipRenewal.php | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.25.1