Hi there. I've got you covered, and I'll gladly answer your concern, so you won't have to worry about receiving your customer's invoice payment in QuickBooks Online (QBO).
If you only edited the customer's name you have on that invoice, you'll still receive the money. Also, if you access the paid invoice and choose a different customer inside it, you can still receive the invoice payment by linking it to that said customer invoice.
In addition, I've got you this article to help you record invoice payments in QBO: Record invoice payments in QuickBooks Online.
You can also check this page to learn how you can track the money moving in and out of your QuickBooks and bank account: Track your cash flow in QuickBooks Online.
In case you have any additional QuickBooks-related concerns or need help performing specific tasks. Know that I'm only a click away. Don't hesitate to leave a comment below. Rest assured, I've got your back, and I'll help you again. Take care, and have a great week.