mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05: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