diff --git a/Model/Push.php b/Model/Push.php index cbb0d396a..38c5173b3 100644 --- a/Model/Push.php +++ b/Model/Push.php @@ -1277,7 +1277,7 @@ protected function canUpdateOrderStatus($response) /** * If the types are not the same and the order can receive an invoice the order can be udpated by BPE. */ - if ($completedStateAndStatus != $currentStateAndStatus + if ($completedStateAndStatus[0] != $currentStateAndStatus[0] && $cancelledStateAndStatus != $currentStateAndStatus && $holdedStateAndStatus != $currentStateAndStatus && $closedStateAndStatus != $currentStateAndStatus