mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 09:32:48 -05:00
update stripe SDK
This commit is contained in:
@ -506,7 +506,7 @@ namespace Bit.Billing.Controllers
|
||||
|
||||
private bool UnpaidAutoChargeInvoiceForSubscriptionCycle(Invoice invoice)
|
||||
{
|
||||
return invoice.AmountDue > 0 && !invoice.Paid && invoice.Billing == Stripe.Billing.ChargeAutomatically &&
|
||||
return invoice.AmountDue > 0 && !invoice.Paid && invoice.CollectionMethod == "charge_automatically" &&
|
||||
invoice.BillingReason == "subscription_cycle" && invoice.SubscriptionId != null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user