mirror of
https://github.com/bitwarden/server
synced 2025-12-31 23:53:17 +00:00
Start subscription for provider during setup process. (#3957)
This commit is contained in:
@@ -255,7 +255,7 @@ public class StripeController : Controller
|
||||
customerGetOptions.AddExpand("tax");
|
||||
var customer = await _stripeFacade.GetCustomer(subscription.CustomerId, customerGetOptions);
|
||||
if (!subscription.AutomaticTax.Enabled &&
|
||||
customer.Tax?.AutomaticTax == StripeCustomerAutomaticTaxStatus.Supported)
|
||||
customer.Tax?.AutomaticTax == StripeConstants.AutomaticTaxStatus.Supported)
|
||||
{
|
||||
subscription = await _stripeFacade.UpdateSubscription(subscription.Id,
|
||||
new SubscriptionUpdateOptions
|
||||
|
||||
Reference in New Issue
Block a user