frontier icon indicating copy to clipboard operation
frontier copied to clipboard

feat: allow trial on default plan of billing account

Open kushsharma opened this issue 1 year ago • 4 comments

When the org is created, if a default billing account of customer is registered to billing provider and a default plan is configured with trial days, subscription will start within trial days. By default, after trial expires, it will continue the subscription if payment method is setup. If no payment is setup, it will auto cancel. To cancel the plan after trial even after payment method is setup in a customer account, set billing.customer.default_plan_cancel_after_trial as true.

kushsharma avatar Aug 24 '24 14:08 kushsharma

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 Aug 28, 2024 3:17pm

vercel[bot] avatar Aug 24 '24 14:08 vercel[bot]

Pull Request Test Coverage Report for Build 10599494265

Details

  • 0 of 13 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.001%) to 9.492%

Changes Missing Coverage Covered Lines Changed/Added Lines %
billing/checkout/service.go 0 5 0.0%
core/event/service.go 0 8 0.0%
<!-- Total: 0 13
Totals Coverage Status
Change from base Build 10590915744: -0.001%
Covered Lines: 10463
Relevant Lines: 110224

💛 - Coveralls

coveralls avatar Aug 24 '24 15:08 coveralls

@kushsharma @anujk14 more context on this please ?

ravisuhag avatar Aug 25 '24 18:08 ravisuhag

@kushsharma @anujk14 more context on this please ?

@ravisuhag This will allow us to provide trials by default to users. For example, if we mark enterprise plan as the default one, and it has any trial days set, the user will be put on a free trial by default.

This is with reference to the decision doc that was shared earlier with us where we wanted to provide the enterprise trial by default to customers.

anujk14 avatar Aug 26 '24 05:08 anujk14