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; } }