The upgrade confirmation says the charge covers the rest of the period when the new tier is billed on another interval #287

Closed
opened 2026-10-29 05:42:48 +00:00 by cgalo5758 · 1 comment
Owner

What happens

On a ladder with a monthly tier below a yearly one, the upgrade's confirmation reads "Your card is charged $270.32 now for the rest of this period, then $300.00 a year." When the interval changes, Stripe does not prorate within the current period. It starts a new yearly period on the day of the switch, charges the full year minus a credit for the unused part of the month, and moves the billing date to that day. The amount shown is right; the sentence around it is not.

What should happen

When the target is billed on another interval, the confirmation says the charge starts a new billing period today. The switch of a paused plan (#278) words the same case as "…then $300.00 a year from today."

Where

planMoveMessage, internal/server/member_plan_moves.go

Why it matters

A member is told they are paying for the rest of the month when they are buying a year, and their renewal date moves without a word.

### What happens On a ladder with a monthly tier below a yearly one, the upgrade's confirmation reads "Your card is charged $270.32 now for the rest of this period, then $300.00 a year." When the interval changes, Stripe does not prorate within the current period. It starts a new yearly period on the day of the switch, charges the full year minus a credit for the unused part of the month, and moves the billing date to that day. The amount shown is right; the sentence around it is not. ### What should happen When the target is billed on another interval, the confirmation says the charge starts a new billing period today. The switch of a paused plan (#278) words the same case as "…then $300.00 a year from today." ### Where `planMoveMessage`, `internal/server/member_plan_moves.go` ### Why it matters A member is told they are paying for the rest of the month when they are buying a year, and their renewal date moves without a word.
cgalo5758 added this to the Public launch milestone 2026-10-29 05:42:49 +00:00
cgalo5758 added the
kind
bug
area/billingarea/member-ui
labels 2026-10-29 05:42:49 +00:00
Author
Owner

On a plan ladder (an ordered set of plans, the tiers, that an organization moves up and down) whose lower tier is billed monthly and whose upper tier is billed yearly, the upgrade's confirmation said the charge covered the rest of the current period. When a subscription moves to a price billed on another interval, Stripe does something else: it starts a new period on the day of the switch, charges the new price's full period less a credit for the unused part of the current one, and moves the billing date to that day. The confirmation now says so. With Stripe's figure it reads "Your card is charged $270.32 now, after a credit for the unused part of your current plan, then $300.00 a year from today." When nothing is due, as when a yearly plan with most of its year unused moves up to a monthly one, it reads "Nothing is charged now; then $40.00 a month from today." When Stripe gives no figure, it reads "Your card is charged $300.00 now, minus a credit for the unused part of your current plan, then $300.00 a year from today.", the sentence already used by the switch from a paid plan the console paused while a grant (a plan an operator gives an organization) holds its ladder. A downgrade keeps its sentence, because it waits for the end of the current period, where the new period starts anyway, and upgrades between prices of the same interval read as before. The console tells that a switch starts a new period by comparing the interval of the price the member pays with the target price's, both read by queries each confirmation already makes, so no query is added.

A walk against Stripe's test mode confirmed it: the figure shown before a monthly-to-yearly upgrade equalled the invoice Stripe then charged, the period and billing date moved to the switch, a yearly-to-monthly upgrade was charged nothing and left the rest of the credit on the customer's balance, and an upgrade over a scheduled downgrade left no schedule on the subscription.

Commit: d1352b3b

On a plan ladder (an ordered set of plans, the tiers, that an organization moves up and down) whose lower tier is billed monthly and whose upper tier is billed yearly, the upgrade's confirmation said the charge covered the rest of the current period. When a subscription moves to a price billed on another interval, Stripe does something else: it starts a new period on the day of the switch, charges the new price's full period less a credit for the unused part of the current one, and moves the billing date to that day. The confirmation now says so. With Stripe's figure it reads "Your card is charged $270.32 now, after a credit for the unused part of your current plan, then $300.00 a year from today." When nothing is due, as when a yearly plan with most of its year unused moves up to a monthly one, it reads "Nothing is charged now; then $40.00 a month from today." When Stripe gives no figure, it reads "Your card is charged $300.00 now, minus a credit for the unused part of your current plan, then $300.00 a year from today.", the sentence already used by the switch from a paid plan the console paused while a grant (a plan an operator gives an organization) holds its ladder. A downgrade keeps its sentence, because it waits for the end of the current period, where the new period starts anyway, and upgrades between prices of the same interval read as before. The console tells that a switch starts a new period by comparing the interval of the price the member pays with the target price's, both read by queries each confirmation already makes, so no query is added. A walk against Stripe's test mode confirmed it: the figure shown before a monthly-to-yearly upgrade equalled the invoice Stripe then charged, the period and billing date moved to the switch, a yearly-to-monthly upgrade was charged nothing and left the rest of the credit on the customer's balance, and an upgrade over a scheduled downgrade left no schedule on the subscription. Commit: d1352b3b
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wiki-cafe/member-console#287