1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

plan trial periods

This commit is contained in:
Kyle Spearrin
2017-04-27 08:17:04 -04:00
parent d1e78e6fe7
commit 2340369d56
4 changed files with 12 additions and 3 deletions

View File

@ -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