To fix this problem:
- Find the invoice for the payment that generates the error
- Void or unapply any payments against the invoice so the full balance is due
- Close and reopen Merchant Service Deposits
- The payment will now record
To prevent this problem, do not manually apply payments to emailed invoices if the customer paid online. The payment will show up ready to record in Merchant Service Deposits after a couple of days.