Compare commits

...

2 commits

Author SHA1 Message Date
Anthony Alaribe
af81ad507a Route Stripe status changes through subscription.updated only
Review follow-ups: restore reads the plan from the event instead of re-fetching
the sub; cancel branches on the response status, so an already-ended sub is not an
alert; Stripe invoices require an id and currency instead of defaulting them.
2026-10-25 12:58:07 +01:00
Anthony Alaribe
73d0ff0885 Reactivate lapsed Stripe projects however their invoice is paid
Checkout for a Free project on a cancelled Stripe sub carries the sub's open
invoices as one-time lines and marks them paid out of band once it completes.
customer.subscription.updated mirrors unpaid/paused onto Free and active back to
paid, so dunning that ends at unpaid revives on payment by any route; invoice.paid
on a cancelled sub points the payer at checkout. Returning buyers no longer see a
trial offer, and cancelling an already-ended sub is no longer an alert.
2026-10-25 12:32:32 +01:00
10 changed files with 242 additions and 123 deletions