• Resolved bavya

    (@bavya)


    Hello,

    We have set up a webhook in WooCommerce to receive order events such as Order Cancelled, Order Fulfilled, Order Placed, and Order Refunded. However, there are instances where we don’t receive these events from WooCommerce. This issue seems to occur sporadically without any apparent pattern.?

    We would appreciate your assistance in understanding the cause of this problem. Additionally, please suggest possible solutions to reduce the drop percentage and improve the reliability of data synchronization between WooCommerce and our system.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mouli a11n

    (@mouli)

    @bavya
    I have just answered your support request in our internal system but I thought it may be useful to copy it here to make it more visible.

    Logs

    Web hook activity is logged under  WooCommerce ? Status ? Logs. 

    Look for logs with webhook-delivery-YYYY-MM-DD in the title.

    These should confirm that the webhooks are being sent correctly, and the response received.

    Webhook test service

    You can also use a service such as https://webhook.site to test the receipt of a test webhook triggered by the same action as your main webhook.

    The site gives you a unique delivery address that you use to set up the test webhook. You then perform the order action that triggers the webhook and the site receives it and displays the content etc.

    These two methods will confirm whether WooCommerce is sending the webhooks correctly.

    If they are but are not being received by your API there maybe a firewall, or similar security feature, blocking receipt of them on your server. I have seen this happen with Mod_Sec for instance, so you may need to white list the IP address and/or URL of your test store.

    Thread Starter bavya

    (@bavya)

    Thanks for the details. We followed the same approach to identify that some of the WooCommerce Order-related events are not being sent to us.
    My question is more about the Webhook event deliverability. Could you please help me understand what is the expected delivery rate for the WooCommerce Webhook events?

    Hi,

    ?Could you please help me understand what is the expected delivery rate for the WooCommerce Webhook events?

    This could be tricky, common causes that might affect the delivery rate are network issues, the load on either the WooCommerce or the receiving server, and execution time. I’d recommend contacting your hosting provider to get more information.

    Cheers.

    Thread Starter bavya

    (@bavya)

    By Webhook event delivery, I mean order event data being pushed from WooCommerce to our app. Further, by the expected delivery rate I am referring to success% i.e. if there are chances that some events might drop. Is there an expected range for this drop%?


    For example, say there are 100 orders placed so far in the WooCommerce store. While order events are pushed via Webhooks, Would I receive all 100 events via Webhook or say, only 97? In this case, I might say that the expected delivery rate of the WooCommerce webhooks is 97%

    Saif

    (@babylon1999)

    Hello @bavya,

    If you’re asking about an expected fail rate for WooCommerce webhooks, let me assure you, there isn’t one by design.

    In my experience, any issues usually stem from the receiving end. That’s why I recommend using https://webhook.site as your reference.

    In order for us to try replicating the issue, could you please specify which exact order-related trigger you’re using?


    Also, please attach a copy of your site’s System Status report. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Look forward to hearing back from you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce Order events Missing’ is closed to new replies.