diff --git a/vendor/pagarme/ecommerce-module-core/src/Middle/Model/Account.php b/vendor/pagarme/ecommerce-module-core/src/Middle/Model/Account.php index 79c9f414..34cb55aa 100644 --- a/vendor/pagarme/ecommerce-module-core/src/Middle/Model/Account.php +++ b/vendor/pagarme/ecommerce-module-core/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; } }