This guide explains how to set up webhooks for your WooCommerce integration with Mintsoft. Webhooks allow orders to import immediately when customers place them, rather than waiting for the scheduled frequency interval. Setting up webhooks requires creating a custom topic in WooCommerce using a Downloadable File.
Prerequisites
Important: Before you begin, you need to:
Download the custom topic file required for webhook setup.
Have access to your WooCommerce store settings.
Set up webhooks in WooCommerce
Using webhooks on WooCommerce requires additional setup. You need to create a custom topic in WooCommerce with the downloadable file provided above.
Once you've downloaded the file, review the WooCommerce webhooks help guide to learn how to create webhooks within WooCommerce.
Note: The delivery URL for the webhook is usually https://api.mintsoft.co.uk/api/External/NewOrderWebhook?APIKey=[Key].
Checking and setting webhooks
Once your webhooks have been created, the Mintsoft Support team can help with confirming the webhooks implementation.
Why use Webhooks?
Turning on webhooks ignores the frequency set for orders to import and instead imports orders as soon as the customer places them.
Note: Webhooks may bring orders in from any status and not just the one specified on the connection.
Delete WooCommerce webhooks
If you receive an error message stating WooCommerce implementation does not currently support deleting webhooks. You will need to manually delete the webhook with ID: xx, Name: xxx, you need to delete the webhook directly in WooCommerce. The WooCommerce integration in Mintsoft doesn't support deleting webhooks. If you need to delete WooCommerce webhooks, you must do this directly in WooCommerce. To delete webhooks:
Go to your WooCommerce store.
Delete the webhook(s) showing in the error message.
Add new webhook(s) if needed.
