We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f21374 commit 0b0c1b1Copy full SHA for 0b0c1b1
app/code/Magento/Sales/Model/Order/Payment.php
@@ -310,6 +310,9 @@ public function place()
310
$orderState = $order->getState() ? $order->getState() : $orderState;
311
$orderStatus = $order->getStatus() ? $order->getStatus() : $orderStatus;
312
}
313
+ } else {
314
+ $order->setState($orderState)
315
+ ->setStatus($orderStatus);
316
317
318
$isCustomerNotified = $isCustomerNotified ?: $order->getCustomerNoteNotify();
0 commit comments