Debugging
Default tasks when hooks are not been dispatched
Verify if the module is enabled within the Stores Configuration
Verify if the webhook is not in concept or disable mode
Verify if the webhook is not constraint to one specific deployment mode (prefer: Independent)
Verify if the hookHttpRequest queue consumer runs (optionally run: bin/magento queue:consumer:run hookHttpRequest)
Xdebug breakpoints
Validate method, URI and options
public function requestAsync($method, $uri = '', array $options = [])
{
// Validate whether all variables meet the expectation.
$request = new Psr7\Request($method, $uri, $headers, $body, $version);
}
Found event webhooks
public function execute(FrameworkObserver $observer): void
{
// Look into the result of getListByName.
$hooks = $this->webhookRepository->getListByName($observer->getWebhook()->getName());
}
Last updated
Was this helpful?