beehexacorp / module-webhook
Beehexa webhook module.
Package info
github.com/beehexacorp/magento2-webhook
Type:magento2-module
pkg:composer/beehexacorp/module-webhook
Requires
- php: ~7.0 || ~8.0 || ~8.1
- beehexa/webhook-php: *
- beehexacorp/magento-base: ~v2.0
- magento/framework: >=102
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-16 10:09:11 UTC
README
What is this module used for?
Beehexa_Webhook is used to push Magento events to external webhook endpoints.
The module currently listens to these main events:
- Product: save, delete
- Category: save, delete
- Customer: save, delete
- Order: create/update
- Invoice: save
The outgoing payload is built by a message builder with these key fields:
entity_type(product/category/customer/order/invoice)entity_idevent_name(new,update,delete)
The module prevents duplicate publishing in the same request flow using WebhookRegistry + entity key strategies:
- Customer key: email
- Default (product/order/...): entity ID
Installation
1) Install via Composer (recommended)
composer require beehexacorp/module-webhook php bin/magento module:enable Beehexa_Webhook php bin/magento setup:upgrade php bin/magento cache:flush
2) Required dependencies
This module requires:
beehexa/webhook-phpbeehexacorp/magento-basemagento/framework >= 102
If you install from Packagist using Composer, dependencies are resolved automatically.
Where to configure
Go to Admin:
Stores > Configuration > Beehexa > Webhook Integration
Root config path:
beehexa/webhook/*
Available fields:
beehexa/webhook/enable- Enable/disable webhook integrationbeehexa/webhook/endpoint_provider- Provider (default,hexasync,slack)beehexa/webhook/hook_endpoint- URL webhook endpointbeehexa/webhook/api_token- Token/secret used to sign requests (encrypted)
Default values (from etc/config.xml):
enable = 0endpoint_provider = hexasynchook_endpoint = ''
Operational notes
- If
endpoint_providerorhook_endpointis not configured, the module throws an exception when publishing. - Module logs are written to:
var/log/beehexa_webhook.log. enableis currently shown at default scope only, while endpoint/token fields support website scope.
Quick test after configuration
- Enable the module in config.
- Enter provider + endpoint + token.
- Save config, then clear cache if needed.
- Update a product/order to trigger webhook publishing.
- Check your receiver endpoint and
var/log/beehexa_webhook.log.