Update failed payment log and flag for retry
Update failed payment log and flag for retry
Invoice payment failures arrive without retry status, so billing can't prioritize collections or reconcile. It flags records with retry state and attempt count so teams act before the next billing run.
Overview
Failed invoice events often arrive without retry context, which slows collections and delays reconciliation. This flow keeps the failed-payments table current with retry status and attempt counts so billing staff can act the same day.