From e9ba0fa6f281b3fec34794e8a5c5090f6cc6d476 Mon Sep 17 00:00:00 2001 From: Nicolas Dorier Date: Wed, 13 Nov 2024 16:25:23 +0900 Subject: [PATCH] Fix: Pay button shouldn't throw exception if currency isn't specific (#6324) (#6395) --- BTCPayServer/Plugins/PayButton/Models/PayButtonViewModel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/BTCPayServer/Plugins/PayButton/Models/PayButtonViewModel.cs b/BTCPayServer/Plugins/PayButton/Models/PayButtonViewModel.cs index a8a4d74ac..9786b187a 100644 --- a/BTCPayServer/Plugins/PayButton/Models/PayButtonViewModel.cs +++ b/BTCPayServer/Plugins/PayButton/Models/PayButtonViewModel.cs @@ -13,7 +13,6 @@ namespace BTCPayServer.Plugins.PayButton.Models [ModelBinder(BinderType = typeof(InvariantDecimalModelBinder))] public decimal? Price { get; set; } public string InvoiceId { get; set; } - [Required] public string Currency { get; set; } public string DefaultPaymentMethod { get; set; } public PaymentMethodOptionViewModel.Format[] PaymentMethods { get; set; }