lnbits icon indicating copy to clipboard operation
lnbits copied to clipboard

No webhook call after receiving payment on LNBits instance with funding source LNBits

Open cryptoteun opened this issue 3 years ago • 6 comments

When I perform a payment to an invoice with a webhook configured, no webhook call is triggered after the payment is received. Below the details of a test on legend (Commit version: 93e58f4c807006c26b675f34947a5bda9743cd86)

The webhook state remains: not sent yet

Date: 2022-01-08 20:37 (2 minutes ago) Description: Test legend - Test Amount: 5.000 sat Fee: 0.000 sat Payment hash: 841720c97d43eaa833908fb8c2585199579ded6eefed97b0f86090fe5eb4d29d Webhook: https://.ngrok.io/webhook/paymentstatus/558Hb3LQ/ not sent yet

cryptoteun avatar Jan 08 '22 19:01 cryptoteun

Updated the title, apparently this only doesn't work for LNBits instances using LNBits as their funding source.

cryptoteun avatar Feb 11 '22 10:02 cryptoteun

i noticed that too

dni avatar Mar 27 '22 08:03 dni

I'm unable to get webhooks to work on invoices created against wallets @ legend.lnbits.com. Is legend.lnbits.com using LNBits as the funding source?

lylepratt avatar Apr 15 '22 13:04 lylepratt

@callebtc , is it possible the issue is somehow related to the one already fixed here: https://github.com/lnbits/lnbits-legend/pull/649

cryptoteun avatar Jun 30 '22 19:06 cryptoteun

Yeah I think he fixed it and this is no longer an issue (at least for me)

lylepratt avatar Jun 30 '22 19:06 lylepratt

unfortunately for me its still not working. No error, nothing. If someone have an idea on how to debug ( i run via docker), please let me know

cryptoteun avatar Jun 30 '22 19:06 cryptoteun

Sorry for chiming in so late. Please git pull to the newest version and follow the installation procedure for the new poetry package manager that we're using. Webhooks should be fixed now.

Feel free to reopen this issue should you still experience problems! Cheers

callebtc avatar Aug 23 '22 14:08 callebtc