mirror of
https://github.com/bitwarden/server
synced 2026-01-06 18:43:36 +00:00
[PM-18699] Add trial path to Stripe metadata (#5940)
* Add the market and product initiated change * Resolve the failing test * revert the change * resolve the failing test * Resolve the failing test * revert the add skipstrial * Revert add the new bool SkipTrial * Revert the changes * Revert the changes on the organizationsale * remove the trailsource property * Remove the CustomerSetup added * Add the improved code change for trial metadata * Revert the changes on GetSubscriptionSetup * Assign the InitiationPath
This commit is contained in:
@@ -34,6 +34,7 @@ public class OrganizationSale
|
||||
var subscriptionSetup = GetSubscriptionSetup(signup);
|
||||
|
||||
subscriptionSetup.SkipTrial = signup.SkipTrial;
|
||||
subscriptionSetup.InitiationPath = signup.InitiationPath;
|
||||
|
||||
return new OrganizationSale
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@ public class SubscriptionSetup
|
||||
public required PasswordManager PasswordManagerOptions { get; set; }
|
||||
public SecretsManager? SecretsManagerOptions { get; set; }
|
||||
public bool SkipTrial = false;
|
||||
public string? InitiationPath { get; set; }
|
||||
|
||||
public class PasswordManager
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user