When users create a payment on an order and do not synchronize and another user creates a payment, it will be duplicated. In this case, one of the two should be deleted from the web version
Web >>> Database > Sales/Invoices > Click on "Close" at the Column Status
Copy the payment confirmation number.
Then go to Database > Received payments > search for the payment confirmation number > Click on the X > Delete