Commit 780e8ad
committed
fix: harden payment flows and startup migrations
This closes replay and accounting gaps, makes billing and webhook state deterministic, and makes SQLite startup upgrades fail loudly instead of silently continuing on drifted schemas.1 parent f93f5f4 commit 780e8ad
42 files changed
Lines changed: 4117 additions & 1775 deletions
File tree
- src
- api
- billing
- events
- invoices
- luma
- merchants
- payment_links
- prices
- products
- scanner
- sessions
- subscriptions
- tickets
- webhooks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments