Webhook for create orders gets fired twice

bilraj
Tourist
7 0 1

My webhook listener for /orders/create is getting called twice. I've made sure that I'm not creating a webhook on both the store and through the API, and I tried deleting and recreating the webhook, and I'm still getting duplicate calls. Has anyone dealt with this issue before?

Replies 3 (3)

oscprofessional
Shopify Partner
15767 2359 3064

Hello 

Looks orders create event is registered twice. to resolve delete one hook and then check

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
bilraj
Tourist
7 0 1

How can I confirm this? It looks like I only have one webhook running for create orders. 


@oscprofessional wrote:

Hello 

Looks orders create event is registered twice. to resolve delete one hook and then check


 

oscprofessional
Shopify Partner
15767 2359 3064
Hello There is two ways to create event/hooks in shopify
i) Using Shopify Admin,  Settings > Notifications > Webhooks
ii) Using Shopify admin API Through Application 
 
 If You are using second approach then it is subject to code analysis / review. else simply go to admin and remove one
Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing