From 49720b714d669f1b82fc40ea327058a684df29ba Mon Sep 17 00:00:00 2001 From: rockstardev <5191402+rockstardev@users.noreply.github.com> Date: Mon, 2 Jun 2025 00:12:14 -0500 Subject: [PATCH] Using WebhookPendingTransactionEvent for test events --- .../Webhooks/PendingTransactionWebhookProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/HostedServices/Webhooks/PendingTransactionWebhookProvider.cs b/BTCPayServer/HostedServices/Webhooks/PendingTransactionWebhookProvider.cs index 759691d1c..172d95fa2 100644 --- a/BTCPayServer/HostedServices/Webhooks/PendingTransactionWebhookProvider.cs +++ b/BTCPayServer/HostedServices/Webhooks/PendingTransactionWebhookProvider.cs @@ -68,7 +68,7 @@ public class PendingTransactionWebhookProvider( public override WebhookEvent CreateTestEvent(string type, params object[] args) { var storeId = args[0].ToString(); - return new WebhookInvoiceEvent(type, storeId) { InvoiceId = "__test__" + Guid.NewGuid() + "__test__" }; + return new WebhookPendingTransactionEvent(type, storeId) { PendingTransactionId = "__test__" + Guid.NewGuid() + "__test__" }; }