1.4.5 move pay_system sets to settings
This commit is contained in:
@@ -100,11 +100,13 @@ def create_order(data):
|
||||
)
|
||||
|
||||
msg = f'create_order answer received = {str(res)}'
|
||||
if res:
|
||||
if res and res.status_code > 300:
|
||||
msg += f' > ({str(res.text)})'
|
||||
print(msg)
|
||||
except Exception as e:
|
||||
msg = f'Exception create_order POST {url} = {str(e)} ({str(res)})'
|
||||
if res:
|
||||
msg += f' > ({str(res.text)})'
|
||||
print(msg)
|
||||
res = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user