subscriptions: price change with notice and pro-rata termination #160

Öppen
öppnade 2026-10-12 17:45:18 +00:00 av supernaut · 0 kommentarer
Ägare

What

A path to change a plan price for existing subscribers.

Why

The Terms promise 30 days' email notice before a price change and a pro-rata refund if the customer terminates because of it. Billing has neither: it cannot update the amount on a Mollie subscription, and it has no pro-rata refund outside the withdrawal flow. #149 only flags an amount mismatch between the local plan and the Mollie subscription.

Fix

  • A command that, for every active auto-renew subscription, sends the notice mail with the new price and the effective date, and records it.
  • After the notice period, update each Mollie subscription amount (PATCH /subscriptions/{id}) and the local plan, in one sweep, idempotent.
  • A termination path that refunds the unused part of the current period pro rata and revokes at the period end.

Done when

  • A test changes the price for a monthly and an annual subscriber, sends two notices, updates both Mollie subscriptions after the period, and refunds one pro rata on termination.
  • README: the price-change procedure.
## What A path to change a plan price for existing subscribers. ## Why The Terms promise 30 days' email notice before a price change and a pro-rata refund if the customer terminates because of it. Billing has neither: it cannot update the amount on a Mollie subscription, and it has no pro-rata refund outside the withdrawal flow. #149 only flags an amount mismatch between the local plan and the Mollie subscription. ## Fix - A command that, for every active auto-renew subscription, sends the notice mail with the new price and the effective date, and records it. - After the notice period, update each Mollie subscription amount (`PATCH /subscriptions/{id}`) and the local plan, in one sweep, idempotent. - A termination path that refunds the unused part of the current period pro rata and revokes at the period end. ## Done when - [ ] A test changes the price for a monthly and an annual subscriber, sends two notices, updates both Mollie subscriptions after the period, and refunds one pro rata on termination. - [ ] README: the price-change procedure.
supernaut lade till detta till projektet Bitborg Payment 2026-10-12 17:45:45 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-payment#160
Ingen beskrivning angiven.