1
0
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:
Alex Morask
2026-01-14 14:34:42 -06:00
committed by GitHub
parent 4bff67ea12
commit e1b6e496f9
2 changed files with 14 additions and 4 deletions

View File

@@ -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);