PaymentLifecycle¶
TLC reached more states than the chart budget of 500, so the chart draws only the bug paths: 12 states and 15 arrows.
EveryChargeCanBeNamed breaks¶
The shortest path has 5 steps: 0. No payment yet; POS heard nothing 1. the POS sends trxpago: Waiting for the wallet; POS heard nothing 2. time passes: Waiting for the wallet; POS heard nothing 3. the deadline passes and compensation is stored: Compensation owed; POS heard nothing 4. the job cancels the intention: Compensated; POS heard nothing 5. the wallet pays the cancelled intention: Compensated; POS heard nothing; charge cannot be named
MarkedSaleKeepsItsMoney breaks¶
The shortest path has 16 steps: 0. No payment yet; POS heard nothing 1. the POS sends trxpago: Waiting for the wallet; POS heard nothing 2. the wallet pays: Waiting for the wallet; POS heard nothing 3. the wallet's notification is applied: Approved sale; POS heard nothing 4. time passes: Approved sale; POS heard nothing 5. the gateway answers trxpago: Approved sale; POS heard nothing 6. the POS reads the answer: Approved sale; POS heard not settled yet 7. time passes: Approved sale; POS heard not settled yet 8. the POS asks the consulta: Approved sale; POS heard not settled yet 9. the reconciliation decides: Approved sale; POS heard not settled yet; reversal owed 10. a node leases the reversal: Approved sale; POS heard not settled yet; reversal owed 11. the lease runs out: Approved sale; POS heard not settled yet; reversal owed 12. a node leases the reversal: Approved sale; POS heard not settled yet; reversal owed 13. the leased node works the reversal: Approved sale; POS heard not settled yet; reversal sent 14. the leased node sends the annulment: Approved sale; POS heard not settled yet; reversal sent; person alerted 15. Prisma returns the money: Approved sale; POS heard not settled yet; reversal sent; Prisma returned the money; person alerted 16. the gateway answers the consulta: Approved sale; POS heard not settled yet; intent recorded; reversal sent; Prisma returned the money; person alerted
Rules not checked¶
CodeNeverAnnulsAMarkedSale, ApprovedAnswerHasIntent, NoSaleAnswerIsBacked, AtMostOneReversalPerCharge, NoDeadlock, NoSaleChargeGoesBackOrToAPerson, OnlyIntentSetReachesAPerson After the first break, each TLC run stops at 100,000 distinct states. A run reached that bound before it checked these rules in every state.