• Resolved johnboy85

    (@johnboy85)


    I used to have an issue where webhooks were slow to trigger instead of occuring instantly. I was using the following code snippet to trigger the webhooks instantly but the code snippet does not seem to be working any longer. Any other suggestions to get webhooks to trigger instantely?

    *Below is what I was using:

    function custom_woocommerce_disable_async_webhook() {
    return false;
    }
    add_filter(‘woocommerce_webhook_deliver_async’, ‘custom_woocommerce_disable_async_webhook’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Prin a11n

    (@prin_settasatian)

    Hello there,

    I understand the webhook you are using does not work anymore.

    Since this is a fairly complex development topic, I would recommend you ask in either:
    – The official WooCommerce Facebook Group (https://www.facebook.com/groups/advanced.woocommerce/)
    – WooCommerce Community Slack (https://woocommerce.com/community-slack/)

    You are more likely to get relevant help there.

    You could also refer to the WooCommerce Developer Resources page (https://developer.woocommerce.com/).

    Let me know if you need further help.

    Thread Starter johnboy85

    (@johnboy85)

    It seems the code snippet is working again…
    It must of just been a plugin issue that has worked itself out.

    /*
     * WooCommerce Disable async webhook delivery
     */
    function custom_woocommerce_disable_async_webhook() {
        return false;
    }
    add_filter('woocommerce_webhook_deliver_async', 'custom_woocommerce_disable_async_webhook');
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce Webhooks’ is closed to new replies.