• Resolved slaymakermkting

    (@slaymakermkting)


    I am trying to use WooCommerce webhooks to send data when an order is placed. I followed the guide here https://docs.woocommerce.com/document/webhooks/ and set up a webhook to fire when an order is placed. I am using RequestBin to test it.
    When an order is placed, a new Scheduled Action shows up in WooCommerce > Status > Scheduled Actions. The Hook is “woocommerce_deliver_webhook_async” and Status is “Pending”
    The problem is it stays Pending and never fires. If I click “Run” it fires and the data shows up in RequestBin.

    Is there a way to make these Actions fire immediately or within a few minutes?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support fevered – a11n

    (@fevered)

    Hey there!

    You mentioned the actions you schedule never fire – does the time that they are supposed to fire at pass, and they still stay as pending?

    Are you using a custom cron on your site? Or is it possible maybe WP-Cron is disabled?

    Thread Starter slaymakermkting

    (@slaymakermkting)

    The Scheduled Date is the time that they were created. If that’s the time they are supposed to fire, it’s always in the past.

    I’m not using a custom cron.
    How would I check if WP-Cron is disabled?

    Plugin Support fevered – a11n

    (@fevered)

    The scheduled date is the time that the scheduled action should run. It sounds like there may be an issue with your WP-Cron, to check this I’d recommend installing the WP Crontrol plugin – it will display any errors that may be occurring with WP-Cron, or if it is disabled or not.

    Thread Starter slaymakermkting

    (@slaymakermkting)

    I installed WP Crontrol, and when I go to the Cron Events page, this error shows at the top:

    There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron events on your site may not work. The problem was:
    Unexpected HTTP response code: 401

    Plugin Support fevered – a11n

    (@fevered)

    Thanks for that – that error would be causing this issue, then. I’m not sure what the exact fix is for that error, but I would recommend reaching out to your webhost to see if they can fix the issue for you

    Plugin Support fevered – a11n

    (@fevered)

    Hey there, since I haven’t heard back from you I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘woocommerce_deliver_webhook_async Pending, doesn’t fire.’ is closed to new replies.