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
Labels
Clear labels
accessibility
area/billing
area/catalog
area/discourse
area/domains
area/entitlements
area/fedwiki
area/identity
area/integrations
area/licensing
area/member-ui
area/meta
area/operator-ui
area/ops
area/testing
duplicate
good-first-issue
invalid
privacy
security
upstream
wontfix
A barrier for people using assistive technology or a keyboard alone.
The Stripe mirror, checkout, subscriptions, invoices, fulfillment.
Products, prices, plan ladders, purchasability.
The Discourse integration.
The domains registry, claims, placements, the certificate ask.
Entitlement sets, rules, grants, pools, provisioning.
The Federated Wiki integration and farm sync.
Sign-in, sessions, persons, organizations, workspaces, roles.
The provider registry, outbox and webhooks in general.
Licenses, the contributor agreement, SPDX headers.
Member pages.
The repository itself, its contributing guide, CI, the tracker and the workflow.
Operator pages, forms, lists, the design system.
Deployment, configuration, migrations, workflows, instance settings.
The test stack, screens, lint, walkthroughs.
Closed because another issue already covers it.
Small, self-contained, and explained enough to be a first contribution.
Closed because it is not a ticket for this repository.
Touches what a person's data reveals.
Touches authentication, authorization, secrets or data exposure.
Waits on another repository or project before it can move.
Closed because it will not be done, with the reason in the last comment.
kind
bug
The software does something other than what it promises; closed when it again does what it promises.
kind
debt
Code, tests or tooling to clean up with nothing visible changing; closed when they are cleaner.
kind
design
A question to settle before work can be defined; closed when the decision is written down.
kind
docs
Documentation that is wrong or missing; closed when it says the right thing.
kind
enhancement
Something the software does not do yet; closed when it does.
priority
critical
Blocks the active milestone or harms members now.
priority
high
Next in line inside the active milestone.
priority
low
Inside the active milestone, when nothing else is left.
priority
medium
Inside the active milestone, after the high ones.
Milestone
No items
No Milestone
Public launch
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: wiki-cafe/member-console#287
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.goWhy 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.
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