mirror of
https://github.com/bitwarden/server.git
synced 2025-07-19 00:21:35 -05:00
[PM-17540]Do not grant re-subscriptions trial period (#5327)
* Remove trial for restarted subscription Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Resolve the pr comment on initial change Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Resolve the issue of not saving payment method * Refactor the taxinfo mapping Signed-off-by: Cy Okeke <cokeke@bitwarden.com> --------- Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
@ -379,7 +379,7 @@ public class OrganizationBillingService(
|
||||
["organizationId"] = organizationId.ToString()
|
||||
},
|
||||
OffSession = true,
|
||||
TrialPeriodDays = plan.TrialPeriodDays
|
||||
TrialPeriodDays = subscriptionSetup.SkipTrial ? 0 : plan.TrialPeriodDays
|
||||
};
|
||||
|
||||
return await stripeAdapter.SubscriptionCreateAsync(subscriptionCreateOptions);
|
||||
|
Reference in New Issue
Block a user