
內容簡介
Webhook For WooCommerce 是一個輕量級的 webhook 管理工具,專為 WordPress 和 WooCommerce 設計。它允許用戶在 WooCommerce 事件發生時自動創建無限的 webhooks,並實時將豐富的 JSON 負載發送到任何外部端點。
【主要功能】
• 支援 11 種 WooCommerce 事件觸發
• 自訂傳送 URL,發送至任意 HTTP/HTTPS 端點
• HMAC 密鑰簽名,確保 webhook 安全性
• 啟用/停用個別 webhook 而不刪除
• 提供豐富的 JSON 負載,包括訂單詳細資訊
• 自動記錄 webhook 傳送狀態與日誌
外掛標籤
開發者團隊
原文外掛簡介
WebhookX is a lightweight, developer-friendly webhook manager for WordPress and WooCommerce. Create unlimited webhooks that fire automatically when WooCommerce actions happen, and deliver rich JSON payloads to any external endpoint in real time.
Key Features
WooCommerce event triggers — Hook into 11+ built-in WooCommerce actions out of the box.
Custom delivery URL — Send webhook payloads to any HTTP/HTTPS endpoint.
HMAC secret signing — Optionally secure each webhook with a secret key. Requests include an X-WebhookX-Signature header (SHA-256 HMAC) so your endpoint can verify authenticity.
Active / Inactive status — Enable or disable individual webhooks without deleting them.
Rich JSON payloads — Payloads include full order details (line items, billing, shipping, totals), customer data, product stock info, and more.
Bulk delete — Remove multiple webhooks at once from the management table.
Webhook delivery logs — Every webhook delivery is automatically logged with status, HTTP response code, response body, payload, and execution duration. Browse, filter, retry, and delete log entries from a dedicated Logs tab.
Non-blocking delivery — Webhooks are dispatched asynchronously so they never slow down your storefront.
Extendable — Add custom events via the webhookx_woocommerce_events filter.
Supported WooCommerce Events
New Order Created
Order Status Changed
Payment Complete
Checkout Order Processed
Order Completed
Order Cancelled
Order Refunded
Customer Created
Add to Cart
Product Stock Updated
Product Stock Status Changed
Webhook Payload
Each webhook delivers a JSON POST body. For order events this includes:
Order ID, status, currency, totals (subtotal, tax, shipping, grand total)
Full billing and shipping address
Line items with product ID, name, quantity, and totals
Customer ID and email
Order creation timestamp
For customer events: customer ID, email, username, first/last name.
For cart events: product ID, name, quantity, variation ID.
For stock events: product ID, name, SKU, stock quantity / status.
Request Headers
Every webhook request includes:
Content-Type: application/json
X-WebhookX-Event — the WooCommerce action slug that fired
X-WebhookX-Delivery — a unique UUID per delivery
X-WebhookX-Signature — SHA-256 HMAC signature (only when a secret key is set)
Webhook Logs
Every webhook delivery attempt is recorded in a dedicated Logs tab. Each log entry includes:
Status — success, failed, or pending
HTTP response code — the status code returned by the remote endpoint
Webhook name & event — which webhook fired and what triggered it
Delivery URL — the endpoint the payload was sent to
Request payload — the full JSON body that was delivered
Response body — the raw response returned by the endpoint
Duration — how long the delivery took in milliseconds
Timestamp — when the delivery was made
From the Logs tab you can:
Filter logs by status (All / Success / Failed)
View full payload and response details in a modal
Retry any individual delivery with one click
Delete individual or bulk-selected log entries
Additional Information
For more information and updates, visit the official website https://softtent.com.
License
This plugin is licensed under the GPL-2.0-or-later License.
