Fix duplicate orders created on backend

There were a situation where backend was duplicating orders
for some reason the communication between backend and pos
where lost and orders on pos didn't set the order_id for identification.
We change the way we are identificating the orders on backed based
on pos name.