diff --git a/src/Core/Services/Implementations/StripePaymentService.cs b/src/Core/Services/Implementations/StripePaymentService.cs index 98db411927..af62e68a61 100644 --- a/src/Core/Services/Implementations/StripePaymentService.cs +++ b/src/Core/Services/Implementations/StripePaymentService.cs @@ -91,6 +91,7 @@ namespace Bit.Core.Services var subCreateOptions = new SubscriptionCreateOptions { + OffSession = true, TrialPeriodDays = plan.TrialPeriodDays, DefaultPaymentMethodId = stipeCustomerPaymentMethodId, Items = new List(), @@ -148,6 +149,7 @@ namespace Bit.Core.Services PaymentMethodId = stipeCustomerPaymentMethodId, Metadata = stripeCustomerMetadata }); + subCreateOptions.AddExpand("latest_invoice.payment_intent"); subCreateOptions.CustomerId = customer.Id; var subscriptionService = new SubscriptionService(); subscription = await subscriptionService.CreateAsync(subCreateOptions);