πŸ›’
WooCommerce

Setting Up a WooCommerce Webhook: Full Guide

πŸ“… 9 October 2026 ✏️ 9 October 2026 ⏱ 5 min leestijd

Learn step by step how to set up a WooCommerce webhook for automatic integrations with external tools and systems.

A WooCommerce webhook automatically sends a notification to an external system whenever something happens in your webshop, such as a new order or a changed stock level. This allows you to connect WooCommerce to accounting software, CRM systems, or custom scripts without using plugins. In this article, you’ll learn how to create, test, and fine-tune a webhook for your hosting environment.

What is a WooCommerce webhook

A webhook is an automatic message that WooCommerce sends whenever a specific action occurs, such as a new order, a status change, or a product update. Instead of an external system constantly having to check whether something has changed, WooCommerce immediately sends the data to a URL you specify. This reduces server load and ensures real-time synchronization between your webshop and, for example, an accounting package or fulfillment system.

WooCommerceWebhook URLExternal system

Creating a webhook in WooCommerce

You can set up a webhook directly in the WooCommerce settings, without any extra plugins. Follow the steps below.

1

Go to the webhook settings

Open your WordPress dashboard and navigate to WooCommerce > Settings > Advanced > Webhooks.

2

Create a new webhook

Click ‘Add webhook’ and give it a clear name, for example ‘Order to accounting’.

3

Choose the topic (event)

Select which action triggers the webhook, such as ‘Order created’, ‘Order updated’, or ‘Product updated’.

4

Enter the destination URL

This is the endpoint of the external system that receives and processes the data.

5

Set a secret key

This key is used to verify the message content on the receiving end, so you can be sure the request actually comes from your webshop.

6

Save and activate the webhook

Set the status to ‘Active’ and save the settings. From now on, WooCommerce automatically sends notifications for the selected event.

πŸ’‘ Tip: use a separate webhook with a specific topic for each integration. This keeps things organized and allows you to check the logs separately per integration.

Testing and checking the webhook

After creating a webhook, it’s important to check whether the data arrives correctly. Place a test order and then view the ‘Webhook details’ screen in WooCommerce. There you’ll see the sent payload, the HTTP response code, and any error messages. A response code of 200 means the external system successfully received the request; codes like 400 or 500 indicate a problem on the receiving end or an incorrect URL.

If you’re using your own script as the receiver, temporarily log the incoming data so you can examine the structure of the payload. This prevents you from having to guess field names blindly. In Plesk, you can find the server logs for your webshop under ‘Logs’, which is useful for checking whether requests actually reach the server.

Common mistakes and solutions

The most common cause of failing webhooks is an unreachable or incorrectly spelled URL. Always check that the endpoint is publicly accessible and doesn’t require a login. An expired SSL certificate on the receiving end can also block requests; make sure both sides have a valid, free SSL certificate.

Another common issue is timeouts caused by slow processing on the external system. Make sure the receiving server responds quickly, for example by handling heavy processing in the background and immediately sending back a confirmation. If your webshop runs on a server with NVMe storage and LiteSpeed, you’ll notice that WooCommerce itself responds faster, which reduces the chance of timeouts on your end.

Also watch out for duplicate webhooks: if the same topic is set up multiple times, the external system will receive duplicate notifications. Check this overview regularly and remove unnecessary webhooks. If you’re working with sensitive order data, consider setting up email notifications through a reliable /nl/email-hosting/ solution, so that alerts about failed webhooks always reach you.

Frequently Asked Questions

Does a WooCommerce webhook work without a plugin?

Yes, WooCommerce has built-in webhook functionality by default under Advanced > Webhooks; you don’t need an extra plugin for this.

What happens if a webhook fails?

WooCommerce tries to resend the request a few times. If it keeps failing, you’ll see this in the webhook logs along with the corresponding error code.

Can I set up multiple webhooks at once?

Yes, you can create as many webhooks as needed, for example separate ones for orders, customers, and products, each with its own destination.

Does my hosting affect webhooks?

Yes, the speed and stability of your /nl/webhosting/ determine how quickly WooCommerce processes and sends requests, especially during high order volumes.

Is a secret key required?

Not required, but strongly recommended to verify that incoming data actually originates from your webshop.

Conclusion

Setting up a WooCommerce webhook can be done within minutes using WooCommerce’s built-in settings. Make sure you have a reachable URL, a valid SSL certificate, and a fast hosting environment to prevent errors and timeouts. If you’re unsure about your current server’s performance, check out the options to /nl/overstappen/ to a faster environment.

View web hosting β†’

Was dit artikel nuttig?