mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-18 08:04:26 +01:00
direct call to pay type instance
This commit is contained in:
@@ -154,7 +154,7 @@ public class Zapper : IHostedService
|
||||
{
|
||||
if (arg.EventCode != InvoiceEventCode.Completed && arg.EventCode != InvoiceEventCode.MarkedCompleted)
|
||||
return;
|
||||
var pm = arg.Invoice.GetPaymentMethod(new PaymentMethodId("BTC", PaymentTypes.LNURLPay));
|
||||
var pm = arg.Invoice.GetPaymentMethod(new PaymentMethodId("BTC", LNURLPayPaymentType.Instance));
|
||||
if (pm is null)
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user