Skip to content

Treat comped users as non-subscribers on pricing page#319

Merged
simonhamp merged 1 commit intomainfrom
find-max-comped-cmd
Mar 30, 2026
Merged

Treat comped users as non-subscribers on pricing page#319
simonhamp merged 1 commit intomainfrom
find-max-comped-cmd

Conversation

@simonhamp
Copy link
Copy Markdown
Member

Summary

  • Comped users (both legacy is_comped flag and comped Ultra price) now see the normal "Get started" checkout button on the pricing page instead of "You're on Ultra" or the upgrade modal
  • Comped subscription is canceled when the user proceeds to checkout, clearing the way for a fresh paid subscription
  • Extracted hasCompedSubscription() on User model and simplified Dashboard::isCompedSubscription() to use it

Test plan

  • comped_max_subscriber_sees_checkout_button — legacy comped user sees checkout button
  • comped_ultra_price_subscriber_sees_checkout_button — comped Ultra price user sees checkout button
  • Existing subscriber and Ultra subscriber tests still pass
  • Dashboard layout tests still pass (22 + 14 tests passing)

🤖 Generated with Claude Code

Comped users now see the normal checkout button instead of "You're on
Ultra" or the upgrade modal. Their comped subscription is canceled when
they proceed to checkout, allowing a fresh paid subscription.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review March 30, 2026 18:48
@simonhamp simonhamp merged commit 659d063 into main Mar 30, 2026
2 checks passed
@simonhamp simonhamp deleted the find-max-comped-cmd branch March 30, 2026 18:55
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