Details: How is \Magento\Paypal\Helper\Checkout::restoreQuote() implemented and used?
\Magento\Paypal\Helper\Checkout::restoreQuote()
See also:
\Magento\Checkout\Model\Session::getLastRealOrder()
Cool thanks! This method works. I also found it on paypal hosted pro module files using it.