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

checkout-session
checkout
quote-restoration
paypal
order-cancellation
quote
(Dmitry Fedyuk) #1

Implementation

The single usage

\Magento\Paypal\Helper\Checkout::restoreQuote()

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

0 Likes

How is \Magento\Paypal\Helper\Checkout::restoreQuote() implemented and used?
How is \Magento\Checkout\Model\Session::replaceQuote() implemented and used?
How to redirect a customer to the checkout payment step?
How is \Magento\Checkout\Model\Session::getLastRealOrder() implemented and used?
How to restore the last quote on an unsuccessfull payment?
(Dmitry Fedyuk) #2

See also:

0 Likes

(Yohanes Pradono) #3

Cool thanks! This method works. I also found it on paypal hosted pro module files using it.

0 Likes