0.12.51 subscribe page w dynamically load

This commit is contained in:
SDE
2024-05-07 14:21:52 +03:00
parent a0ee72bc81
commit b374e7aeca
2 changed files with 24 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ def get_order_status(order):
# if res['amount'] == res['amount_charged'] and res['status'] == 'charged':
order.save()
return order.status
# return order.status
except Exception as e:
@@ -29,7 +29,7 @@ def get_order_status(order):
msg = f'Exception get_order_status (data = {str(order.id)}) = {str(e)}'
print(msg)
return None
return order
def get_orders_for_user(user):