Inability to mark orders completed in POS?

A few weeks ago, some orders can no longer be marked completed in the POS. They’ve started to pile up. I haven’t made any code changes in this time. This seems like a square bug, but I just want to make sure there’s nothing on my end that could be causing it.

None of these orders can be marked completed:

This is the response when anyone tries:


43.jpg…]

Thanks,
Ryan

Hey Ryan! What are some of the Square order_ids of the orders that you aren’t able to complete? :slightly_smiling_face:

K8zcbJm3lFkqjl5SZ46JPZ1qKrdZY
sXG1INSbWUebxdvbuPkH3KP9hQVZY
kxvIJ4KjFACw2oTiwkgdYITQJtCZY

OK, so I found the problem…

I have a process that marks order->fulfillments->state = ‘COMPLETED’ each night for orders that weren’t marked manually via the POS, but I wasn’t setting order->state = ‘COMPLETED’. Up until a few weeks ago, this didn’t matter. Now, I guess it does. Obviously, I fixed it on my end…

But, I think it’s really a bug on your end: an order with a state != '‘COMPLETED’, but with order->fulfillments->state == ‘COMPLETED’ cannot be deleted via the POS.

I’m still checking with the team as to why you weren’t able to mark them complete in the POS. :slightly_smiling_face: