Payment Entry is not associated with Customer A

I have a payment entry created for Customer A [Voucher No: 25] which was paid via Cash, now I got that cash back from the Customer A, so when I try to settle the amount via Payment Entry and import outstanding invoices, I get a message as Payment Entry is not associated with Customer A.

How can I solve this ?