From 4b59f5f87d8b2234565728050b8d2b027bc650cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 12 Dec 2023 13:51:50 +0100 Subject: [PATCH] Log unknown IPN status --- src/Handlers/IPNHandler.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Handlers/IPNHandler.php b/src/Handlers/IPNHandler.php index 717529a..b85309a 100644 --- a/src/Handlers/IPNHandler.php +++ b/src/Handlers/IPNHandler.php @@ -34,6 +34,11 @@ public function handle($payload) $this->handleTimeout(); break; default: + Log::error(sprintf( + '%s %s', + __('Unknown IPN status:', 'cone-simplepay'), + $payload['status'] + )); break; }; }