1.4.5 move pay_system sets to settings

This commit is contained in:
SDE
2024-07-09 16:09:01 +03:00
parent 6c911dde43
commit 3d137aefad

View File

@@ -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