From 3f99e210fd400038229433439a24348568c92581 Mon Sep 17 00:00:00 2001 From: kGablo Date: Fri, 19 Jan 2024 10:45:39 +0100 Subject: [PATCH] Multistore notification fix --- Controller/tpay/Notification.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controller/tpay/Notification.php b/Controller/tpay/Notification.php index e82c076..5b0070e 100644 --- a/Controller/tpay/Notification.php +++ b/Controller/tpay/Notification.php @@ -109,7 +109,7 @@ private function saveCard(array $notification, string $orderId) } } - public function getNotification() + private function getNotification() { $returnData = null; foreach ($this->storeManager->getStores() as $store) { @@ -122,7 +122,7 @@ public function getNotification() return $returnData; } - public function extractNotification(StoreInterface $store): array + private function extractNotification(StoreInterface $store): array { $storeId = (int) $store->getStoreId(); try {