CreateInvoiceAsync(InvoiceEntity btcPayInvoice,
.Value,
Environment = brantaSettings.StagingEnabled ? Enums.ServerEnvironment.Staging : Enums.ServerEnvironment.Production,
StoreId = btcPayInvoice.StoreId,
- ZeroKnowledgeSecret = secret
+ ZeroKnowledgeSecret = secret,
+ PluginVersion = Helper.GetVersion()
};
if (!brantaSettings.BrantaEnabled)
diff --git a/BTCPayServer.Plugins.Branta/Views/UIBranta/ViewLogs.cshtml b/BTCPayServer.Plugins.Branta/Views/UIBranta/ViewLogs.cshtml
index 3ab9ff2..01043db 100644
--- a/BTCPayServer.Plugins.Branta/Views/UIBranta/ViewLogs.cshtml
+++ b/BTCPayServer.Plugins.Branta/Views/UIBranta/ViewLogs.cshtml
@@ -30,6 +30,7 @@
| Status |
Failure Reason |
Verify Link |
+ Plugin Version |
Processing Time (ms) |
@@ -58,6 +59,7 @@
Expired
}
+ @invoice.PluginVersion |
@(invoice.ProcessingTime > 0 ? invoice.ProcessingTime : "") |
}