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:
parent
62732fa002
commit
54162d6531
@ -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.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user