mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
fix credit card bug for premium
This commit is contained in:
@ -388,7 +388,7 @@ namespace Bit.Core.Services
|
||||
braintreeCustomer = customerResult.Target;
|
||||
stripeCustomerMetadata.Add("btCustomerId", braintreeCustomer.Id);
|
||||
}
|
||||
else
|
||||
else if(!stripePaymentMethod)
|
||||
{
|
||||
throw new GatewayException("Payment method is not supported at this time.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user