Skip to content

Commit a516d29

Browse files
committed
remove order cancel on local exception
1 parent 976a343 commit a516d29

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Controller/Payment/Confirm.php

-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ public function execute()
106106
$e,
107107
$e->getMessage()
108108
);
109-
$_order->setState(\Magento\Sales\Model\Order::STATE_CANCELED)
110-
->setStatus(\Magento\Sales\Model\Order::STATE_CANCELED);
111109
$_order->addCommentToStatusHistory($e->getMessage());
112110
$_order->save();
113111

0 commit comments

Comments
 (0)