How is \Magento\Checkout\Model\Session::getLastRealOrder() implemented and used?

downloadable
checkout-session
checkout
last-order
order
paypal
order-get
(Dmitry Fedyuk) #1

Context:

Implementation

Details: How is \Magento\Sales\Model\Order::loadByIncrementId() implemented and used?

Usages

1. \Magento\Checkout\Block\Registration::getEmailAddress()

2. \Magento\Checkout\Block\Onepage\Success::prepareBlockData()

3. \Magento\Checkout\Model\Session::restoreQuote()

Details: How is \Magento\Checkout\Model\Session::restoreQuote() implemented and used?

4. \Magento\Downloadable\Block\Checkout\Success::orderHasDownloadableProducts()

5. \Magento\Paypal\Helper\Checkout::cancelCurrentOrder()

Details: How is \Magento\Paypal\Helper\Checkout::cancelCurrentOrder() implemented and used?

0 Likes

How to get the last order programmatically?
How is \Magento\Sales\Model\Order::loadByIncrementId() implemented and used?
How to cancel the last order on an unsuccessfull payment?
How is \Magento\Checkout\Model\Session::restoreQuote() implemented and used?
(Dmitry Fedyuk) #2

See also:

0 Likes