diff --git a/src/invoice/invoice-service.ts b/src/invoice/invoice-service.ts index 3fd4305..b2b0a57 100644 --- a/src/invoice/invoice-service.ts +++ b/src/invoice/invoice-service.ts @@ -73,6 +73,10 @@ export class InvoiceService { webhooks: service.webhooks || [], }); + const notifierId = this.env.PAYMENT_NOTIFIER.idFromName(invoice.id); + const paymentNotifier = this.env.PAYMENT_NOTIFIER.get(notifierId); + await paymentNotifier.start(); + return SuccessResponse({ id: invoice.id, pay_address,