From 54162d65313d5938d0608e5b56909ad3e6541ecc Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 2 Sep 2019 20:23:43 -0400 Subject: [PATCH] fix credit card bug for premium --- src/Core/Services/Implementations/StripePaymentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Services/Implementations/StripePaymentService.cs b/src/Core/Services/Implementations/StripePaymentService.cs index 3d198f86cc..f532c0ae6c 100644 --- a/src/Core/Services/Implementations/StripePaymentService.cs +++ b/src/Core/Services/Implementations/StripePaymentService.cs @@ -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."); }