Handling a customer's overpayment is made simple in QuickBooks Online. We know how important it is to be able to account for mishaps such as these, and I'd be happy to explain your next steps.
When a customer overpays, you can use the credit toward an invoice, refund the customer, or enter the overpayment as a tip in QuickBooks.