You cannot change the customer details in a payment received. If you have recorded the payment incorrectly, you need to delete the payment received and create a new one with the correct customer details.
Books
Online accounting software
for small businesses.