Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ on_invoice_payment
Function
on_invoice_payment
tests/plugins/sphinx-receiver.py:9–13 ·
view source on GitHub ↗
(**kwargs)
Source
from the content-addressed store, hash-verified
7
8
@plugin.hook(
'invoice_payment'
)
9
def
on_invoice_payment(**kwargs):
10
""
"
11
""
"
12
plugin.log(
"invoice_payment kwargs {a}"
.format(a=kwargs))
13
return
{
'result'
:
'continue'
}
14
15
16
plugin.run()
Callers
nothing calls this directly
Calls
1
log
Method · 0.80
Tested by
no test coverage detected