mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05:00
fix the trailing issue when autoscaling (#3889)
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
parent
532b70e26c
commit
dd21d8fcf4
@ -788,7 +788,7 @@ public class StripePaymentService : IPaymentService
|
||||
ProrationDate = prorationDate,
|
||||
};
|
||||
var immediatelyInvoice = false;
|
||||
if (!invoiceNow && isPm5864DollarThresholdEnabled)
|
||||
if (!invoiceNow && isPm5864DollarThresholdEnabled && sub.Status.Trim() != "trialing")
|
||||
{
|
||||
var upcomingInvoiceWithChanges = await _stripeAdapter.InvoiceUpcomingAsync(new UpcomingInvoiceOptions
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user