Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cancel subscription after trial #843

Merged
merged 3 commits into from
Jan 6, 2025
Merged

Conversation

rsbh
Copy link
Member

@rsbh rsbh commented Jan 6, 2025

This PR will update the end_behavior in the cancel upcoming phase
If the user is on trial and config.subscription.cancel_after_trial is set to true, then the end_behavior in subscription update call will be set to cancel

@rsbh rsbh requested a review from kushsharma January 6, 2025 08:04
Copy link

vercel bot commented Jan 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontier ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 6, 2025 9:30am

@coveralls
Copy link

coveralls commented Jan 6, 2025

Pull Request Test Coverage Report for Build 12629988548

Details

  • 0 of 7 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.005%) to 30.713%

Changes Missing Coverage Covered Lines Changed/Added Lines %
billing/subscription/service.go 0 7 0.0%
Totals Coverage Status
Change from base Build 12594383827: -0.005%
Covered Lines: 7771
Relevant Lines: 25302

💛 - Coveralls

billing/config.go Outdated Show resolved Hide resolved
@rsbh rsbh enabled auto-merge (squash) January 6, 2025 09:30
@rsbh rsbh merged commit 1d22b1f into main Jan 6, 2025
7 checks passed
@rsbh rsbh deleted the feat_cancel_sub_after_trial branch January 6, 2025 10:19
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.

3 participants