E-commerce
WooCommerce Webhooks
WordPress e-commerce plugin. Receive events for orders, products, customers, and coupons.
Connecting WooCommerce to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into WooCommerce. Then:
- 1Go to WooCommerce → Settings → Advanced → Webhooks
- 2Click "Add webhook", give it a Name and set Status to Active
- 3Select the Topic (e.g., Order created) and paste your Hookbase ingest URL into Delivery URL
- 4Paste the secret Hookbase generated into the Secret field
- 5Click "Save webhook". WooCommerce sends an unsigned activation ping, which Hookbase answers without storing it
Signature verification
Set the source's provider to woocommerce and paste the signing secret. Every request is checked before the event is stored, and anything that fails is rejected rather than quietly recorded.
- Algorithm
- HMAC-SHA256 (base64)
- Header
- X-WC-Webhook-Signature
- Where to find the secret
- WooCommerce → Settings → Advanced → Webhooks → your webhook → Secret (paste the value Hookbase generated; don't leave it blank or WooCommerce generates its own random one)
WooCommerce event types
8 of the events people route most often. Hookbase accepts every event WooCommerce sends, whether or not it is listed here.
order.created
A new order was placed
order.updated
An order was updated
order.deleted
An order was deleted
product.created
A product was created
product.updated
A product was updated
customer.created
A new customer registered
customer.updated
A customer was updated
coupon.created
A coupon was created
What a WooCommerce webhook looks like
A order.created payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"id": 727,
"status": "processing",
"currency": "USD",
"total": "59.97",
"billing": {
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"city": "Portland",
"state": "OR"
},
"line_items": [
{
"name": "Premium Widget",
"quantity": 3,
"total": "59.97",
"sku": "WGT-001"
}
],
"payment_method": "stripe",
"date_created": "2024-01-15T10:30:00"
}Start receiving WooCommerce webhooks
Create a source, paste the URL into WooCommerce, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free