diff --git a/src/Components/OrderExpiration/ExpireAction.php b/src/Components/OrderExpiration/ExpireAction.php index eaec51708..4e3c9cc5d 100644 --- a/src/Components/OrderExpiration/ExpireAction.php +++ b/src/Components/OrderExpiration/ExpireAction.php @@ -82,7 +82,7 @@ private function expireOrdersInSalesChannel(SalesChannelEntity $salesChannelEnti $orFilterArray = [ new EqualsFilter('transactions.stateMachineState.technicalName', OrderTransactionStates::STATE_IN_PROGRESS), ]; - if (defined('\Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionStates\OrderTransactionStates::STATE_UNCONFIRMED')) { + if (defined('\Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionStates::STATE_UNCONFIRMED')) { $orFilterArray[] = new EqualsFilter('transactions.stateMachineState.technicalName', OrderTransactionStates::STATE_UNCONFIRMED); } $criteria = new Criteria(); diff --git a/src/Service/Order/OrderStatusUpdater.php b/src/Service/Order/OrderStatusUpdater.php index 63988f676..42a01fa9d 100644 --- a/src/Service/Order/OrderStatusUpdater.php +++ b/src/Service/Order/OrderStatusUpdater.php @@ -101,7 +101,7 @@ public function updatePaymentStatus(OrderTransactionEntity $transaction, string case MolliePaymentStatus::MOLLIE_PAYMENT_OPEN: { $states = [OrderTransactionStates::STATE_IN_PROGRESS]; - if (defined('\Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionStates\OrderTransactionStates::STATE_UNCONFIRMED')) { + if (defined('\Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionStates::STATE_UNCONFIRMED')) { $states[] = OrderTransactionStates::STATE_UNCONFIRMED; } # if we are already in_progress...then don't switch to OPEN again diff --git a/src/Service/Transition/TransactionTransitionService.php b/src/Service/Transition/TransactionTransitionService.php index bd5d7423d..76313b122 100644 --- a/src/Service/Transition/TransactionTransitionService.php +++ b/src/Service/Transition/TransactionTransitionService.php @@ -49,7 +49,7 @@ public function processTransaction(OrderTransactionEntity $transaction, Context $defaultState = OrderTransactionStates::STATE_IN_PROGRESS; $action = StateMachineTransitionActions::ACTION_PROCESS; - if (defined('\Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionStates\OrderTransactionStates::STATE_UNCONFIRMED')) { + if (defined('\Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionStates::STATE_UNCONFIRMED')) { $defaultState = OrderTransactionStates::STATE_UNCONFIRMED; $action = StateMachineTransitionActions::ACTION_PROCESS_UNCONFIRMED; }