Order.created webhook not called for all orders

We are subscribed to the order.created webhook, but we’re not getting all orders sent? We get about 50% of them.

If any Square staff can look into this, we received a callback for Transaction id CQEV08MsdHYmgBNyCEPCWIhozbeZY and UVUMbIjViqnI9CveUmN3pZOIzKSZY but not for hLG1Dvmoe1hEe5LRFM2xQ7peV or vuU5zQEq04PKLU32NGXoozeeV whcih were all done from the same device a few minutes apart.

:waving_hand: 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

Use Webhooks to Integrate with a Payroll System
Gift Card Webhooks
Use Customer Webhooks

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.

Ok, I’ve just noticed something different about them

The ones we recieve are all cash payments, the ones we don’t receive are all credit card transactions.

Anyt thoughts on why we’re not getting the order.created, and what webhokk we should be using to capture these transactions.

I’m not interested in Payments, or Refunds, I want to get the Order details, which is why I’m using the order.created webhook.

Looks like the payments were created in the Square app. Creating an order in the Point of Sale app will not publish this event for every payment at this time. Instead we recommend listening to the payment webhooks and taking the order_id from the event and use the Orders API to get the order details :slight_smile:

So should I use payment.created?

Yes, payment.created or payment.updated will be the events you’ll want to listen to.