Order-create webhook runs multiple times

Highlighted
New Member
7 0 0

I have a order-create webhook in my store which sends data to my API but the problem is that the webhook is running multiple times. I've read the documentation and saw that we should respond within 5 seconds to prevent the webhook to fire again, so what i did is I queued the tasks for latter and immediately responded with a 200 OK status and then proceeded with the tasks inside the function, but still it does not work how i  want it to. 

 

Any idea how to fix this?

0 Likes