From b6ce111c9f92ada77d9d3e00bf2af5288171d975 Mon Sep 17 00:00:00 2001 From: Jon Goldberg <jon@megaphonetech.com> Date: Thu, 18 Mar 2021 18:36:11 -0400 Subject: [PATCH] always pass payment_processor_id to Mjwshared.create_payment --- CRM/Core/Payment/MJWIPNTrait.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/Payment/MJWIPNTrait.php b/CRM/Core/Payment/MJWIPNTrait.php index 77ee8ba..151e175 100644 --- a/CRM/Core/Payment/MJWIPNTrait.php +++ b/CRM/Core/Payment/MJWIPNTrait.php @@ -264,6 +264,7 @@ trait CRM_Core_Payment_MJWIPNTrait { } } $paymentParams['contribution_id'] = $contribution['id']; + $paymentParams['payment_processor_id'] = $this->_paymentProcessor->getID(); $paymentParams['is_send_contribution_notification'] = $this->getSendEmailReceipt(); $paymentParams['skipCleanMoney'] = TRUE; civicrm_api3('Mjwpayment', 'create_payment', $paymentParams); -- GitLab