Hi there, @ lxsgreen.
You can edit the payment with the correct customer name and amount. You may open the payments and the transaction history to check the changes.
Here's how to do it:
Once done you can link the invoice to the payment and delete the incorrect payment.
I'm also adding this article that tackles how to let customers pay their invoices online for future reference: Take and process payments in QuickBooks Online.
That should get you pointed in the right direction. Feel free to get in touch with me if you need anything else. Iβm always here to help. Thanks for dropping by and take care!