From f1f9d2c9e3c032a379e20351984969cb66ebb93e Mon Sep 17 00:00:00 2001 From: Mateus Picoloto Date: Tue, 14 Nov 2023 12:37:02 -0300 Subject: [PATCH] fix: webhook validation --- src/Middle/Model/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Middle/Model/Account.php b/src/Middle/Model/Account.php index 76637b3..b4f6129 100644 --- a/src/Middle/Model/Account.php +++ b/src/Middle/Model/Account.php @@ -309,7 +309,7 @@ private function validateWebhooks($storeSettings = null) continue; } foreach ($siteUrls as $siteUrl) { - if (strpos($siteUrl, $webhook->url) !== false) { + if (strpos($webhook->url, $siteUrl) !== false) { return; } }