diff --git a/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs b/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs index a0c75b79e..c34b35588 100644 --- a/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs +++ b/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs @@ -291,7 +291,9 @@ namespace BTCPayServer.Payments.Bitcoin result.RPCCode == RPCErrorCode.RPC_TRANSACTION_REJECTED); if (!accounted && payment.Accounted && tx.Confirmations != -1) { - Logs.PayServer.LogInformation($"{wallet.Network.CryptoCode}: The transaction {tx.TransactionHash} has been replaced."); + var logs = new InvoiceLogs(); + logs.Write($"The transaction {tx.TransactionHash} has been replaced.", InvoiceEventData.EventSeverity.Warning); + await _InvoiceRepository.AddInvoiceLogs(invoice.Id, logs); } if (paymentData.PayjoinInformation is PayjoinInformation pj) {