WooCommerce Webhook

#1

I want to set up a woocommerce webhook on order creation but I’ve run into a few issues.

  1. When saving a woocommerce webhook, it sends a test response that doesn’t include all the data that it would during an order. Also, each order would be different depending on a number of items, delivery method, check out method etc. I read in this chat (Webhook not collecting any data), that the initial firing of a new webhook sets the data fields that it will look for. Is that correct?
  • I’m asking because, after setting up the webhook, the event confirms it works but during an actual checkout, the event fires but “no input or output data is found”.

attached screenshots of the events, first and then an order.



As you mention it in your doc on woocommerce, is there something I’m missing to make this work?

(Sarah Palombo) #2

If you notice, there is a difference in the Body of the test webhook (raw body webhook_id=180) is the test but the actual webhook sent is (body webhook_id=180&order_key=…&wc_order=…) etc etc

Like the article you reference, this webhook lets you test the connection but it seems to send an empty payload (there’s no sample data) so the webhook can’t parse through any data.

Instead of using a webhook from Woo Commerce to Flow XO. You could use a Woo commerce Trigger there’s New Customer or New Order as an option. All you need to do is choose the service Woo Commerce and add your details. We will bring in details of i.e New orders,

You’ve emailed support I think so you can email a reply if you are stuck with this.

Hope that helps !

Sarah :slight_smile:

#3

Thanks, I just wanted to confirm that woocommerce’s built in webhooks would not work with FlowXO.