Ecommerce Shopify WordPress Discussion

Shopify ORDERS_CREATE Webhook on Shopify App's

I used the npm init @shopify/app@latest command to create a Shopify app and attempted to implement a feature that listens for webhooks triggered whenever a new order is created in the shop. Thus, I navigate to the shopify.server.js file and include the following code within the webhooks property: ORDERS_CREATE: { deliveryMethod: DeliveryMethod.Http, callbackUrl: "/webhooks", callback: async (topic, shop, body, webhookId) => { console.log("--- Order create ---"); const payload = JSON.parse(body); console.log(payload); console.log("--- /Order create ---"); }, }, And ofcourse, I added to this access scopes inside shopify.app.toml: [access_scopes] # Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes scopes = "write_products,read_orders,write_orders" When I update a product (have a webhook set up for PRODUCTS_UPDATE), I can see the webhook being successfully invoked. However, when I manually create an order in the orders tab of the dashboard, I do not see any corresponding webhook requests. What could be the issue, and how can I address it?
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.