The flow
Starts it 1Logic 13Service 11
The steps in the order they run, from what starts it.
- 1When Lago Reports a Payment EventLago triggerStarts it
- 2Normalize Billing EventCodeLogic
- 3Route Billing EventSwitchLogic
- 4Get Failed InvoiceLagoService
- 5Load Customer Action StateData TableService
- 6Load Recovery StateData TableService
- 7Record Why the Event Was IgnoredSetLogic
- 8Get Billing CustomerLagoService
- 9Build Customer Action StateCodeLogic
- 10Build Recovered Payment StateCodeLogic
- 11Load Retry StateData TableService
- 12Save Customer Action StateData TableService
- 13Save Recovered Payment StateData TableService
- 14Decide Whether To RetryCodeLogic
- 15Prepare Customer Action AlertSetLogic
- 16Prepare Recovery AlertSetLogic
- 17If Retry Limit AllowsIfLogic
- 18Send Billing AlertEmail SendService
- 19Retry Failed PaymentLagoService
- 20Build Manual Review StateCodeLogic
- 21Build Retry StateCodeLogic
- 22Save Manual Review StateData TableService
- 23Save Retry StateData TableService
- 24Prepare Manual Review AlertSetLogic
- 25Prepare Retry AlertSetLogic