Skip to content

Commit de9055f

Browse files
author
Yushkin, Dmytro
committed
MAGETWO-40130: Order number is missing on PayPal (Payflow) Express Checkout solutions
1 parent 375077a commit de9055f

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Paypal/Controller/Express/AbstractExpress

1 file changed

+2
-1
lines changed

app/code/Magento/Paypal/Controller/Express/AbstractExpress/PlaceOrder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public function execute()
4040
$order = $this->_checkout->getOrder();
4141
if ($order) {
4242
$this->_getCheckoutSession()->setLastOrderId($order->getId())
43-
->setLastRealOrderId($order->getIncrementId());
43+
->setLastRealOrderId($order->getIncrementId())
44+
->setLastOrderStatus($order->getStatus());
4445
}
4546

4647
$this->_eventManager->dispatch(

0 commit comments

Comments
 (0)