1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00

fix credit card bug for premium

This commit is contained in:
Kyle Spearrin 2019-09-02 20:23:43 -04:00
parent 62732fa002
commit 54162d6531

View File

@ -388,7 +388,7 @@ namespace Bit.Core.Services
braintreeCustomer = customerResult.Target; braintreeCustomer = customerResult.Target;
stripeCustomerMetadata.Add("btCustomerId", braintreeCustomer.Id); stripeCustomerMetadata.Add("btCustomerId", braintreeCustomer.Id);
} }
else else if(!stripePaymentMethod)
{ {
throw new GatewayException("Payment method is not supported at this time."); throw new GatewayException("Payment method is not supported at this time.");
} }