1.1.13 not send to pay system if subscribe price is null

This commit is contained in:
SDE
2024-06-05 12:03:00 +03:00
parent 90405f64de
commit 3a235b4f60
2 changed files with 24 additions and 16 deletions

View File

@@ -8,6 +8,9 @@ def get_order_status(order):
from BaseModels.pay_systems.DVL_Group_kaz.api.funcs import get_order_status
res_status = None
if not order or not order.bank_order_id:
return order
try:
res_data = get_order_status(order.bank_order_id)