From 9645e182aa1093ec2e21a20d9ca920ae103ac9f4 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Wed, 15 Jul 2020 19:28:27 +0100 Subject: [PATCH] CRM_Core_Payment::handlePaymentNotification() is not a static method --- CRM/Core/Payment/AuthorizeNet.php | 2 +- CRM/Core/Payment/PayPalImpl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/Payment/AuthorizeNet.php b/CRM/Core/Payment/AuthorizeNet.php index d7b2249e5e..5a9fcbc992 100644 --- a/CRM/Core/Payment/AuthorizeNet.php +++ b/CRM/Core/Payment/AuthorizeNet.php @@ -673,7 +673,7 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment { /** * Process incoming notification. */ - public static function handlePaymentNotification() { + public function handlePaymentNotification() { $ipnClass = new CRM_Core_Payment_AuthorizeNetIPN(array_merge($_GET, $_REQUEST)); $ipnClass->main(); } diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index 022067bd98..79c2ecd9de 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -690,7 +690,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment { * @throws \CRM_Core_Exception * @throws \CiviCRM_API3_Exception */ - public static function handlePaymentNotification() { + public function handlePaymentNotification() { $params = array_merge($_GET, $_REQUEST); $q = explode('/', CRM_Utils_Array::value('q', $params, '')); $lastParam = array_pop($q); -- 2.25.1