diff --git a/core/routers/pay/actions.py b/core/routers/pay/actions.py index 6cb3309..1f219e4 100644 --- a/core/routers/pay/actions.py +++ b/core/routers/pay/actions.py @@ -28,7 +28,7 @@ async def actions_after_payment( logger.error(f'Order not found -> {order_id}') return - if order.status != OrderStatusType.WAIT_PAYMENT: + if order.status != OrderStatusType.PAID: logger.error(f'Order not wait_payment -> {order_id}') return