Fixing a bug where the payer was not getting a fully updated invoice, so it would show as credit rather than paid.