0.12.51 subscribe page w dynamically load
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user