We have been subscribing to the order.created for many months, so we know what to expect: there are some draft orders (unpaid), and open (paid) orders, and we check the status to filter out draft ones since we don’t really care if there’s no sales. This behaviour changed starting Feb 20, when we get mostly draft order data only and very few open ones. That means we cacnnot capture the orders when they arrive, which screws up our system. Does anyone experience similar issues as we do? Thank you.
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Additional Documentation
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
Do you have an example order_id
that we can look into?
I’m seeing this too. I’m only getting order.created
with DRAFT
status. The last one I got with an OPEN
status was on 2/17. Here is an affected order id: 8DvzlLwqErKAXNyabhmjpg0zjpAZY
That order was created with the Square Online store. A draft order is the first state of an order. If you subscribe to order.updated
webhooks then when an order is updated to OPEN
you’ll get that event.
Hi Bryan,
Thanks for looking into this. Your description of how it works wasn’t the case until couple days ago. Before that, there was at least an event of order.created with OPEN status whenever there is a sale completed. In fact that was the reason we subscribed order.created instead of order.updated, because order.updated is filled with so many triggers that is unnecessary to us: we just want to record whenever there is a sale, not more and not less.
If you could let us know a better webhook that fits our purpose that would be great. Thank you.
Hi @chaeasy - how did you end up solving this?
I asked the same question in Support. They advised me to watch for the payment.created event, which does tell me when a payment is received. By filtering non-online transactions, it shows me what I expect, and it’s not as busy as order.updated. It’s not perfect but it is what it is: this platform isn’t as e-commerce friendly as I anticipated.