Repository navigation
Billing: a cancel ends the plan that day, paid plans too - #259
Merged
Merged
Conversation
The owner, 2026-11-18: "If someone cancels their subscription, it should end on the same day as they cancel it."
POST /api/billing/cancel now cancels the subscription at once for a paid plan as it did for a trial: nothing more is
charged, nothing is refunded for the days left, and a discount or a promotion code's free months end with it. The
popups say so before the last button ("your subscription will end today", "Nothing is refunded for the days left",
and a line about the discount when there is one), and the billing page says "If you cancel, it ends that day".
Resume stays for a plan set to end later in Stripe itself.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The owner, 2026-11-18: "If someone cancels their subscription, it should end on the same day as they cancel it."
#258 ended a trial at once but let a paid plan run to the end of its paid month. Now every cancel on GenClass's own page ends the plan that day:
POST /api/billing/cancelcancels the subscription at once (cancelNow), trial or paid. Nothing more is charged, nothing is refunded for the days left, and a discount or a promotion code's free months end with it. It answers{ ok, ended: true, ends: null }.GET /api/billing/cancelalso saysdiscount(the subscription has a discount that would end too).scheduleCancelis gone.Checks:
telemetry-workervitest 921 passed (35 files), tsc clean.🤖 Generated with Claude Code