add prusnak suggestion
This commit is contained in:
parent
908369efff
commit
4a2b8ab1af
1 changed files with 3 additions and 1 deletions
|
|
@ -20,7 +20,9 @@ async def wait_for_paid_invoices():
|
||||||
|
|
||||||
|
|
||||||
async def on_invoice_paid(payment: Payment) -> None:
|
async def on_invoice_paid(payment: Payment) -> None:
|
||||||
if not payment.extra or payment.extra.get("tag") != "tpos":
|
if not payment.extra:
|
||||||
|
return
|
||||||
|
if payment.extra.get("tag") != "tpos":
|
||||||
return
|
return
|
||||||
|
|
||||||
tipAmount = payment.extra.get("tipAmount")
|
tipAmount = payment.extra.get("tipAmount")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue