diff --git a/__pycache__/tasks.cpython-39.pyc b/__pycache__/tasks.cpython-39.pyc index c4ca1db..2b6955b 100644 Binary files a/__pycache__/tasks.cpython-39.pyc and b/__pycache__/tasks.cpython-39.pyc differ diff --git a/tasks.py b/tasks.py index 9e1b0de..0304cce 100644 --- a/tasks.py +++ b/tasks.py @@ -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") diff --git a/templates/myextension/index.html b/templates/myextension/index.html index 61baace..6d6029f 100644 --- a/templates/myextension/index.html +++ b/templates/myextension/index.html @@ -96,7 +96,7 @@ - +