From 0d3111a1539d4eb984fa4559fb0a76899f7f36c6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 2 Aug 2023 17:22:05 +0800 Subject: [PATCH] 1 --- webapp/services/callback/OutAppPurchase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/services/callback/OutAppPurchase.php b/webapp/services/callback/OutAppPurchase.php index afe9ba2a..0226e6fb 100644 --- a/webapp/services/callback/OutAppPurchase.php +++ b/webapp/services/callback/OutAppPurchase.php @@ -58,7 +58,7 @@ class OutAppPurchase { myself()->_rspErr(0, 'not found order'); return; } - if ($orderDb['status'] != OutAppOrder::FINISHED_STATE) { + if ($orderDb['status'] == OutAppOrder::FINISHED_STATE) { myself()->_rspErr(0, 'order is finished'); return; }