mirror of
https://github.com/bitwarden/server
synced 2026-01-17 07:53:36 +00:00
fix(start-premium): Need to expand 'customer' on first invoice (#6844)
This commit is contained in:
@@ -361,7 +361,8 @@ public class CreatePremiumCloudHostedSubscriptionCommand(
|
||||
|
||||
var invoice = await stripeAdapter.UpdateInvoiceAsync(subscription.LatestInvoiceId, new InvoiceUpdateOptions
|
||||
{
|
||||
AutoAdvance = false
|
||||
AutoAdvance = false,
|
||||
Expand = ["customer"]
|
||||
});
|
||||
|
||||
await braintreeService.PayInvoice(new UserId(userId), invoice);
|
||||
|
||||
Reference in New Issue
Block a user