mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Add no rate found error message in Invoices (#4039)
This commit is contained in:
@@ -311,7 +311,7 @@ namespace BTCPayServer.Controllers
|
|||||||
errors.AppendLine(
|
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/WalletSetup/)");
|
"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/WalletSetup/)");
|
||||||
else
|
else
|
||||||
errors.AppendLine("Warning: You have payment methods configured but none of them match any of the requested payment methods (e.g., you requested on-chain BTC invoice but don't have an on-chain wallet configured)");
|
errors.AppendLine("Warning: You have payment methods configured but none of them match any of the requested payment methods or the rate is not available. See logs below:");
|
||||||
foreach (var error in logs.ToList())
|
foreach (var error in logs.ToList())
|
||||||
{
|
{
|
||||||
errors.AppendLine(error.ToString());
|
errors.AppendLine(error.ToString());
|
||||||
|
|||||||
Reference in New Issue
Block a user