CIVICRM-1784 Reinstate invoiceID param to membership renewal payment
authorFrancis Whittle <francis@agileware.com.au>
Tue, 22 Jun 2021 00:57:07 +0000 (10:57 +1000)
committerFrancis Whittle <francis@agileware.com.au>
Tue, 22 Jun 2021 02:09:48 +0000 (12:09 +1000)
Fixes a compatibility regresson introduced for 5.36

CRM/Member/Form/MembershipRenewal.php

index e233464f4bafef2986fa86355503416173927d23..4b0fdbe072049c42a483f900a90babfb0ec333e7 100644 (file)
@@ -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);