WorkLoans and paymentsBuilt at Hangar MarketingPrivate
B6 Billing
Loans and payments for student pilots
Flight training costs enough that students finance it. This sets up the loans and runs them: amortization schedules, ACH payments, autopay, payoff quotes and document signing.
Staff have one front end and students have another, with one back end under both.
Taking a payment twice is worse than not taking it. Every charge reserves its key before anything else happens, so if the same request comes in again it finds the key and stops.
Events go out through an outbox. If a transaction gets rolled back, its event never leaves.
Every event saves which key signed it. The start of the key already says live or sandbox, so there's no separate setting that could disagree with it.
Somebody hard deleted a record once and nobody could say who. I added a log for that. It only covers deletes and things like it, because logging every update would add a write to every request.
There are no screenshots of this one. It needs a live database, an identity pool and a Stripe account before it will show you anything. The parts worth seeing are the schema and what happens when a payment goes wrong, so up top is a loan instead. The light part of each bar pays it down, and the orange is interest.
