Skip to content

Billing: a cancel ends the plan that day, paid plans too - #259

Merged
MeharPro merged 1 commit into
mainfrom
fix/cancel-ends-today
Nov 18, 2026
Merged

MeharPro merged 1 commit into
mainfrom
fix/cancel-ends-today

Conversation

@MeharPro

Copy link
Copy Markdown
Contributor

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/cancel cancels 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/cancel also says discount (the subscription has a discount that would end too).
  • The popups say so before the last button: "If you continue, your subscription will end today", "Nothing is refunded for the days left", and a line about the discount or free months when there is one. The billing page says "If you cancel, it ends that day."
  • "Resume plan" stays for a plan set to end later in Stripe itself (the dashboard). scheduleCancel is gone.
  • The owner's notice says the plan ended at once, what it was paid up to, and whether a discount ended with it.

Checks: telemetry-worker vitest 921 passed (35 files), tsc clean.

🤖 Generated with Claude Code

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>
@MeharPro
MeharPro merged commit 6da959f into main Nov 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant