From 55822530c132836097d9289d8e70f1f6ffc64c60 Mon Sep 17 00:00:00 2001
From: Matthew Wire <mjw@mjwconsult.co.uk>
Date: Wed, 15 Jul 2020 19:25:10 +0100
Subject: [PATCH] handlePaymentNotification should not be static

---
 CRM/Core/Payment/Stripe.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CRM/Core/Payment/Stripe.php b/CRM/Core/Payment/Stripe.php
index 0e25499f..d4ad5b5c 100644
--- a/CRM/Core/Payment/Stripe.php
+++ b/CRM/Core/Payment/Stripe.php
@@ -1130,7 +1130,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
    * @throws \CiviCRM_API3_Exception
    * @throws \Stripe\Error\Api
    */
-  public static function handlePaymentNotification() {
+  public function handlePaymentNotification() {
     $data_raw = file_get_contents("php://input");
     $data = json_decode($data_raw);
     $ipnClass = new CRM_Core_Payment_StripeIPN($data);
-- 
GitLab