Session 48b: BUG-070 FIXED (Stripe cancellation downgrade), state updated
This commit is contained in:
parent
1c6fb6be50
commit
2f534c6c31
2 changed files with 17 additions and 3 deletions
|
|
@ -1100,3 +1100,16 @@
|
|||
- BUG-061: /status not in sitemap
|
||||
- BUG-067: No skip-to-content link
|
||||
- BUG-069: /docs has no footer
|
||||
|
||||
## Session 48b — 2026-02-17 10:43 UTC (Investor Report Follow-up)
|
||||
- **BUG-070 CRITICAL: Stripe cancellation not downgrading Pro keys — FIXED**
|
||||
- Root cause: three bugs: (1) only handled `customer.subscription.deleted` not `updated`, (2) `revokeByCustomer` deleted keys instead of downgrading, (3) no product filter on cancellation
|
||||
- Fix: replaced `revokeByCustomer` with `downgradeByCustomer` (sets tier='free'), added `customer.subscription.updated` handler with product filter, added `isDocFastSubscription()` helper
|
||||
- Manually downgraded cancelled customer (dominik.polakovics@cloonar.com, cus_TzUTRCa4JEoYN5) from pro→free in DB
|
||||
- Commit 855068a deployed, verified on production
|
||||
- **Remaining action:** Investor must add `customer.subscription.updated` event to Stripe webhook (we_1T12icRtlDv9c8Go9JpzfuXX) in Dashboard → Developers → Webhooks
|
||||
- **Noted:** Investor applied sticky navbar directly on server. All future code changes go through CEO.
|
||||
- **Open items needing investor action:**
|
||||
1. BUG-050: Fix MX DNS record in Hetzner DNS
|
||||
2. BUG-049: Enable Stripe invoice emails
|
||||
3. Add `customer.subscription.updated` to Stripe webhook events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue