A plan change made and recorded is answered as failed when the reconcile after it fails #309

Open
opened 2026-10-31 00:30:00 +00:00 by cgalo5758 · 0 comments
Owner

What happens

After a member's plan change (a switch to another tier, Keep plan, or Cancel plan) has been made at Stripe and recorded by the console, the console reconciles the subscription. When that reconcile fails at once, for example on a database error or because Stripe refuses to read the subscription, the member reads "We couldn't complete that change. Try again in a moment.", although the change was made.

What should happen

Once the change is made and recorded, a failure of the reconcile after it is logged, and the member reads the change's own answer. Stripe's event for the change brings the subscription's record up to date.

Where

internal/fulfillment/plan_change.go (the record at the end of each move), internal/server/member_plan_moves.go

Why it matters

A member who follows the advice repeats a change that has already taken effect.

### What happens After a member's plan change (a switch to another tier, Keep plan, or Cancel plan) has been made at Stripe and recorded by the console, the console reconciles the subscription. When that reconcile fails at once, for example on a database error or because Stripe refuses to read the subscription, the member reads "We couldn't complete that change. Try again in a moment.", although the change was made. ### What should happen Once the change is made and recorded, a failure of the reconcile after it is logged, and the member reads the change's own answer. Stripe's event for the change brings the subscription's record up to date. ### Where `internal/fulfillment/plan_change.go` (the record at the end of each move), `internal/server/member_plan_moves.go` ### Why it matters A member who follows the advice repeats a change that has already taken effect.
cgalo5758 added the
kind
bug
area/billing
labels 2026-10-31 00:30:00 +00:00
Sign in to join this conversation.
No labels area/billing
kind
bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wiki-cafe/member-console#309