Skip to content

Commit

Permalink
NTR: try fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Dec 13, 2024
1 parent f278ea8 commit c2f7646
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Components/OrderExpiration/ExpireAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Order/OrderStatusUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Transition/TransactionTransitionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c2f7646

Please sign in to comment.