diff --git a/CHANGELOG-3.2.x.md b/CHANGELOG-3.2.x.md index c15b937460..e8ac2f43d2 100644 --- a/CHANGELOG-3.2.x.md +++ b/CHANGELOG-3.2.x.md @@ -1,3 +1,6 @@ +# 3.2.15 +* [PayumBundle] remove payment_state processing to confirm orders by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2743 + # 3.2.14 * [Pimcore] introduce LocalizedFallbackHelper by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2723 * [Translations] add missing translations by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2721 diff --git a/src/CoreShop/Bundle/PayumBundle/Action/ConfirmOrderAction.php b/src/CoreShop/Bundle/PayumBundle/Action/ConfirmOrderAction.php index 20ae57bb94..eee4cf6525 100644 --- a/src/CoreShop/Bundle/PayumBundle/Action/ConfirmOrderAction.php +++ b/src/CoreShop/Bundle/PayumBundle/Action/ConfirmOrderAction.php @@ -37,8 +37,7 @@ public function execute($request): void $payment = $request->getFirstModel(); $order = $payment->getOrder(); if ($payment->getState() === PaymentInterface::STATE_COMPLETED || - $payment->getState() === PaymentInterface::STATE_AUTHORIZED || - $payment->getState() === PaymentInterface::STATE_PROCESSING + $payment->getState() === PaymentInterface::STATE_AUTHORIZED ) { $this->stateMachineApplier->apply($order, OrderTransitions::IDENTIFIER, OrderTransitions::TRANSITION_CONFIRM);