Paying does not remove the trial tier group #131

Stängd
öppnade 2026-10-11 15:26:12 +00:00 av supernaut · 0 kommentarer
Ägare

A trial user who pays keeps the tier_trial group. Billing adds tier_pro on payment, but does not remove tier_trial.

Seen on staging on 2026-10-11: seed-trial paid by card and ended in forgejo_users, tier_pro and tier_trial. The reconciler chose paid, so quota is correct. But anything that reads tier_trial treats the user as on trial. The portal showed the trial-end note to a paid user (fixed on the portal side separately).

  • When a payment activates tier_pro, remove tier_trial (and tier_participant, if set) in the same entitlement step.
  • On expiry or cancellation, the existing fallback to the participant tier still applies.
  • Test: a trial user who pays ends with tier_pro only, among the tier groups.

Done when: paying moves a trial user to tier_pro with no other tier group.

A trial user who pays keeps the `tier_trial` group. Billing adds `tier_pro` on payment, but does not remove `tier_trial`. Seen on staging on 2026-10-11: `seed-trial` paid by card and ended in `forgejo_users`, `tier_pro` and `tier_trial`. The reconciler chose `paid`, so quota is correct. But anything that reads `tier_trial` treats the user as on trial. The portal showed the trial-end note to a paid user (fixed on the portal side separately). - [ ] When a payment activates `tier_pro`, remove `tier_trial` (and `tier_participant`, if set) in the same entitlement step. - [ ] On expiry or cancellation, the existing fallback to the participant tier still applies. - [ ] Test: a trial user who pays ends with `tier_pro` only, among the tier groups. Done when: paying moves a trial user to `tier_pro` with no other tier group.
supernaut lade till detta till projektet Bitborg Payment 2026-10-11 15:26:18 +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#131
Ingen beskrivning angiven.