Improve error messages when the store has no payment method configured

This commit is contained in:
nicolas.dorier
2019-01-18 19:15:31 +09:00
parent b5a0e844d2
commit 575b6ca222
4 changed files with 20 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ namespace BTCPayServer.Controllers
if (supported.Count == 0)
{
StringBuilder errors = new StringBuilder();
errors.AppendLine("No payment method available for this store");
errors.AppendLine("Warning: No wallet has been linked to your BTCPay Store. See the following link for more information on how to connect your store and wallet. (https://docs.btcpayserver.org/btcpay-basics/gettingstarted#connecting-btcpay-store-to-your-wallet)");
foreach (var error in logs.ToList())
{
errors.AppendLine(error.ToString());