Route has recently introduced a new version of its plugin to the WooCommerce Plugin
Marketplace.
The new version was released to optimize the process of collecting Route-protected
orders. We found that in some instances, WooCommerce was not allowing the Route
plugin to create the necessary webhooks correctly to optimize the experience.
This article will walk you through simple steps that will allow you to create the
webhooks.
Copy/Paste Information from Webhooks
1. Navigate to the Webooks section of your WooCommerce dashboard. WooCommerce Settings Advanced Webooks
2. Navigate to the Webooks section of your WooCommerce dashboard. WooCommerce Settings Advanced Webooks
Copy Necessary Information from Webhooks
3. Under list of webhooks, select “RouteApp Order Deleted” or scroll over the webhook name and click “Edit”.
4. Once you’ve clicked “Edit”, you should see the “Webhook data” page, shown in the screenshot below.
5. Once in this “Webhook data” page, copy the contents of the “Delivery URL” field paste it on a notepad or somewhere you can use it later.
6. Repeat the previous steps for the contents of the “Secret” field. Copy and paste for future reference.
Delete Existing Webhooks
7. Once you’ve copied and pasted contents of both the “Delivery URL” and “Secret” fields, click delete the webhook by clicking “Delete permanently”.
8. At this point, you should only see one of the two Route webhooks in the “Webhooks” page. Scroll over the “RouteApp Order Upsert” webhook and delete the webhook by clicking “Delete permanently”
Create Webhooks
9. At this point, you should no longer see any webhooks associated with Route. Create a new webhook by clicking on “Add webhook”
10. Create a webhook named “RouteApp Order Deleted” with the following contents for each of the fields:
- Name: RouteApp Order Deleted
- Status: Active
- Topic: Order deleted
- Delivery URL: The url copied and pasted from the webhook before deleting
- Secret: The token you copied and pasted from the webhook before deleting
- API Version: WP Rest API Integration V3
11. Click “Save webhook
12. Create a webhook named “RouteApp Order Upsert” with the following contents for each of the fields:
- Name: RouteApp Order Upsert
- Status: Active
- Topic: Order updated
- Delivery URL: The url copied and pasted from the webhook before deleting
- Secret: The token you copied and pasted from the webhook before deleting
- API Version: WP Rest API Integration V3
13. Click “Save webhook”
This article contains a pdf you can download on how to recreate the Route webhooks in instances where Woo wasn’t allowing the Route plugin to create the necessary webhooks correctly to optimize the experience, and due to that, some of your Route-protected orders may not have been collected by Route.