mirror of
https://github.com/bitwarden/server
synced 2025-12-17 16:53:23 +00:00
plan trial periods
This commit is contained in:
@@ -287,6 +287,7 @@ namespace Bit.Core.Services
|
||||
// They must have been on a free plan. Create new sub.
|
||||
var subCreateOptions = new StripeSubscriptionCreateOptions
|
||||
{
|
||||
TrialPeriodDays = newPlan.TrialPeriodDays,
|
||||
Items = new List<StripeSubscriptionItemOption>
|
||||
{
|
||||
new StripeSubscriptionItemOption
|
||||
@@ -504,6 +505,7 @@ namespace Bit.Core.Services
|
||||
|
||||
var subCreateOptions = new StripeSubscriptionCreateOptions
|
||||
{
|
||||
TrialPeriodDays = plan.TrialPeriodDays,
|
||||
Items = new List<StripeSubscriptionItemOption>
|
||||
{
|
||||
new StripeSubscriptionItemOption
|
||||
|
||||
Reference in New Issue
Block a user