eleapis / module-connector
Pushes signed Magento store events (orders, customers, abandoned carts) to the configured webhook for WhatsApp automation.
Package info
github.com/eleapis/eleapis-magento
Type:magento2-module
pkg:composer/eleapis/module-connector
Requires
- php: >=8.1
- magento/framework: ^103.0
- magento/module-config: ^101.2
- magento/module-cron: ^100.4
- magento/module-customer: ^103.0
- magento/module-quote: ^101.2
- magento/module-sales: ^103.0
- magento/module-store: ^101.1
This package is auto-updated.
Last update: 2026-08-11 10:57:12 UTC
README
Pushes signed Magento store events — orders, new customers, abandoned carts — to a configured webhook for WhatsApp automation.
- Supported: Magento Open Source & Adobe Commerce 2.4.4+, PHP 8.1+.
- Events:
order.created,order.updated,order.canceled,order.refunded,customer.created,cart.abandoned.
Installation
Composer (recommended)
composer require eleapis/module-connector bin/magento module:enable EleAPIs_Connector bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:flush
Manual (zip / app/code)
Extract to app/code/EleAPIs/Connector, then run the same bin/magento commands as above.
Configuration
Stores → Configuration → EleAPIs → Connector → General:
- Enable — turn the connector on.
- Webhook URL — paste the URL shown in your dashboard.
- Webhook Secret — paste the one-time secret shown in your dashboard (stored encrypted).
On Save Config, the module runs a one-time activation handshake with the webhook and shows a success/error message confirming the connection.
How it works
- Observers on
sales_order_place_after(created) andsales_order_save_after(status change → updated/canceled/refunded) build a normalized, versioned envelope and POST it to the Webhook URL. customer.createdfires when the customer first becomes reachable: at registration if a phone is present, otherwise the moment their first address with a telephone is saved (exactly once per customer).- A cron job (dedicated
eleapis_connectorcron group, every 15 minutes) scans stale active quotes and emitscart.abandonedonce per cart. - Each request is signed:
X-Signature: v1=HMAC_SHA256(secret, "v1:{X-Timestamp}:{connectionId}"), withX-Timestamp(unix seconds) andX-Delivery-Id. - Delivery is fail-safe (never disrupts checkout, order save, or registration).
Uninstall
bin/magento module:disable EleAPIs_Connector
Disabling stops all event delivery. Configuration values remain until removed from core_config_data.
License
Open Software License v3.0 (OSL-3.0) — see LICENSE.txt.