If this is the case, we will need to lock the order when a certain action like "completion the order" is happening from the delivery end.
In that way, the second device will have to wait for the lock to be released and then it will throw an error as the order was already delivered. This can prevent the multiple commission addition issue.
This is very tricky, will check.