diff --git a/BTCPayServer/Controllers/UIInvoiceController.UI.cs b/BTCPayServer/Controllers/UIInvoiceController.UI.cs index 4c68e454a..2f5c92cb1 100644 --- a/BTCPayServer/Controllers/UIInvoiceController.UI.cs +++ b/BTCPayServer/Controllers/UIInvoiceController.UI.cs @@ -311,7 +311,7 @@ namespace BTCPayServer.Controllers model.RefundStep = RefundSteps.SelectCustomAmount; return View(model); default: - ModelState.AddModelError(nameof(model.SelectedRefundOption), "Invalid choice"); + ModelState.AddModelError(nameof(model.SelectedRefundOption), "Please select an option before proceeding"); return View(model); } diff --git a/BTCPayServer/Views/UIInvoice/Refund.cshtml b/BTCPayServer/Views/UIInvoice/Refund.cshtml index d736fb471..e8f9ed2e7 100644 --- a/BTCPayServer/Views/UIInvoice/Refund.cshtml +++ b/BTCPayServer/Views/UIInvoice/Refund.cshtml @@ -13,6 +13,10 @@
+ + + + @switch (Model.RefundStep) { case RefundSteps.SelectPaymentMethod: @@ -59,6 +63,9 @@ The specified amount with the specified currency, at the rate when the refund will be sent. +
+ +