cant get invoice listener firing

This commit is contained in:
benarc 2024-01-19 09:25:17 +00:00
parent addf8fec11
commit 1735cc0d66
3 changed files with 16 additions and 9 deletions

View file

@ -29,7 +29,8 @@ async def wait_for_paid_invoices():
# do somethhing when an invoice related top this extension is paid
async def on_invoice_paid(payment: Payment) -> None:
if payment.extra.get("tag") != "myextension":
logger.debug("payment received for myextension extension")
if payment.extra.get("tag") != "MyExtension":
return
myextension_id = payment.extra.get("tempId")