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; }