prusnak's suggestion
This commit is contained in:
parent
491495aa8a
commit
7328d222a0
1 changed files with 4 additions and 1 deletions
|
|
@ -23,7 +23,10 @@ async def wait_for_paid_invoices():
|
|||
|
||||
|
||||
async def on_invoice_paid(payment: Payment) -> None:
|
||||
if payment.extra and payment.extra.get("tag") != "shop":
|
||||
if not payment.extra:
|
||||
return
|
||||
|
||||
if payment.extra.get("tag") != "shop":
|
||||
return
|
||||
|
||||
order = await get_shop_order_invoiceid(payment.payment_hash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue