feat: show more details about the order
This commit is contained in:
parent
68795d2db2
commit
76af65c148
7 changed files with 72 additions and 27 deletions
4
tasks.py
4
tasks.py
|
|
@ -36,7 +36,7 @@ async def on_invoice_paid(payment: Payment) -> None:
|
|||
if payment.extra.get("tag") != "nostrmarket":
|
||||
return
|
||||
|
||||
print("### on_invoice_paid")
|
||||
print("### on_invoice_paid", json.dumps(payment))
|
||||
|
||||
|
||||
async def subscribe_to_nostr_client(recieve_event_queue: Queue, send_req_queue: Queue):
|
||||
|
|
@ -124,7 +124,7 @@ async def handle_dirrect_message(
|
|||
|
||||
|
||||
async def handle_new_order(order: PartialOrder):
|
||||
### check that event_id not parsed already
|
||||
### todo: check that event_id not parsed already
|
||||
|
||||
order.validate_order()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue