Fix: Pay button shouldn't throw exception if currency isn't specific (#6324) (#6395)

This commit is contained in:
Nicolas Dorier 2024-11-13 16:25:23 +09:00 committed by nicolas.dorier
parent 063ef5e3e1
commit e9ba0fa6f2
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -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; }