Home Forums Plugins WooCommerce Orders Tracking webhook order status

webhook order status

  • Author
    Posts
  • #124731

    Unknown Truth Tarot
    Participant

    I’m using the TrackingMore tracking service and everything’s working correctly in terms of tracking numbers getting updated between WooCommerce Order Tracking and TrackingMore via API.

    I have webhooks setup so any change in shipment status gets pushed to WooCommerce Order Tracking. When that happens, the correct email I have configured for each status gets sent out to the customer as expected.

    The problem seems to be that the actual order status doesn’t get updated by the webhook.

    So for example, when TrackingMore sends the webhook that an order is delivered… that is successfully received by WooCommerce Order Tracking… the email for the “Delivered” order status is sent to my customer. However, in the Orders page of WooCommerce, that order is still showing the order status of “Shipped”. I’ve tried refreshing the page and still “Shipped” instead of “Delivered”.

    I’ve even gone into TrackingMore and resent the webhook. Doing so causes WooCommerce Order Tracking to resend the “Delivered” email, but the order’s Order Status still stays at “Shipped”.

    So even though I’m getting real time updates from TrackingMore via webhook, and my customers are getting the correct order status email… the actual order status of the order is not changing when the webhook is received.

    But I do notice that when the API for TrackingMore is run by cron, then the order status DOES update like it’s supposed to.

    Is that expected behavior? It seems to me like the order status should be updated by the webhook also, correct?

    If not, is there a way to make the webhook not just send the correct email, but also update the order status of the order?

    Because the API only runs 1 time every 24 hours, and I’d like the order statuses to be updated in real time if at all possible.

You must be logged in to see replies to this topic. Click here to login or register