feat: allow trial on default plan of billing account
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.
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 |
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 | |
|---|---|
| Change from base Build 10590915744: | -0.001% |
| Covered Lines: | 10463 |
| Relevant Lines: | 110224 |
💛 - Coveralls
@kushsharma @anujk14 more context on this please ?
@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.