From eec9d3048ced01b3c6effebdf832a9133cbb3b60 Mon Sep 17 00:00:00 2001 From: xingc Date: Mon, 12 May 2025 12:12:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(pay):=20=E4=BF=AE=E5=A4=8D=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E4=B8=BA=E5=B7=B2?= =?UTF-8?q?=E6=94=AF=E4=BB=98`paid`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/routers/pay/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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