1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Start subscription for provider during setup process. (#3957)

This commit is contained in:
Alex Morask
2024-04-10 14:10:53 -04:00
committed by GitHub
parent 2c36784cda
commit 3cdfbdb22d
14 changed files with 749 additions and 17 deletions

View File

@ -1923,7 +1923,7 @@ public class StripePaymentService : IPaymentService
/// <param name="customer"></param>
/// <returns></returns>
private static bool CustomerHasTaxLocationVerified(Customer customer) =>
customer?.Tax?.AutomaticTax == StripeCustomerAutomaticTaxStatus.Supported;
customer?.Tax?.AutomaticTax == StripeConstants.AutomaticTaxStatus.Supported;
// We are taking only first 30 characters of the SubscriberName because stripe provide
// for 30 characters for custom_fields,see the link: https://stripe.com/docs/api/invoices/create