CRM_Core_Payment::handlePaymentNotification() is not a static method
authorMatthew Wire <mjw@mjwconsult.co.uk>
Wed, 15 Jul 2020 18:28:27 +0000 (19:28 +0100)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Wed, 15 Jul 2020 18:35:22 +0000 (19:35 +0100)
CRM/Core/Payment/AuthorizeNet.php
CRM/Core/Payment/PayPalImpl.php

index d7b2249e5ec69a66e85ce032732fa643ca6caed4..5a9fcbc9924bbdb3b129113459c8f2245b160213 100644 (file)
@@ -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();
   }
index 022067bd98b568294c53c5d23e5763aa600fa93a..79c2ecd9de9989c85452670cd816b98e64cd9d70 100644 (file)
@@ -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);