Order Create Webhook Not Triggering with Real Orders

Order Create Webhook Not Triggering with Real Orders

ag05
Shopify Partner
3 0 0

Hi everyone,

I've added an orders/create webhook to my Shopify app, and it's working fine when I test it using the Shopify CLI (shopify webhook trigger orders/create). However, when I place a real order in my store, the webhook is not triggered.

Here’s what I’ve done so far:

  • Verified the webhook is registered correctly via the Shopify Admin API.
  • Tested with the Shopify CLI, and it successfully triggers the webhook.
  • Checked the webhook logs in my app, but no real orders are coming through.
  • Confirmed that my app has the necessary permissions (read_orders).

Has anyone encountered this issue before? Are there any additional steps I should take to troubleshoot why real orders aren't triggering the webhook?

Thanks in advance for any help!

Reply 1 (1)

oscprofessional
Shopify Partner
16343 2438 3177

Hello,
Checked the webhook logs in my app, but no real orders are coming through : Are logs getting generated and what is being sent in the log, can you share what you are getting in the log file.

webhooks if fired should result in your app function getting the posted data, provided permissions are in place.
So the first step in debugging would be to ensure logs are getting generated and to know what all data is captured in log.

import { authenticate } from "../shopify.server";

export const action = async ({ request }) => {
const { shop, topic } = await authenticate.webhook(request);

console.log(`Received ${topic} webhook for ${shop}`);

return new Response();
};
Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...