From 5892842139ce2c1c96a34b7da93bb66a0693d3ec Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 21 Mar 2019 23:11:53 -0400 Subject: [PATCH] add account credit --- src/Core/Services/Implementations/StripePaymentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Services/Implementations/StripePaymentService.cs b/src/Core/Services/Implementations/StripePaymentService.cs index 80d354c117..96e45822da 100644 --- a/src/Core/Services/Implementations/StripePaymentService.cs +++ b/src/Core/Services/Implementations/StripePaymentService.cs @@ -437,7 +437,7 @@ namespace Bit.Core.Services await customerService.UpdateAsync(customer.Id, new CustomerUpdateOptions { - AccountBalance = -1 * previewInvoice.AmountDue + AccountBalance = customer.AccountBalance - previewInvoice.AmountDue }); addedCreditToStripeCustomer = true; }