From de2ca2ff95ad3a615b36ad0ffd9c8e7f5f5dd67f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 21 Feb 2019 17:27:57 -0500 Subject: [PATCH] throw No payment method is available. --- 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 05fde6a18c..aff5be83f4 100644 --- a/src/Core/Services/Implementations/StripePaymentService.cs +++ b/src/Core/Services/Implementations/StripePaymentService.cs @@ -567,7 +567,7 @@ namespace Bit.Core.Services if(customer.DefaultSource == null || (!(customer.DefaultSource is Card) && !(customer.DefaultSource is BankAccount))) { - // throw new BadRequestException("No payment method is available."); + throw new BadRequestException("No payment method is available."); } }