ExpressRedirect
Magento\Checkout\Helper\ExpressRedirect
What it does
This helper class manages the redirect flow when customers need to log in during express checkout processes (like PayPal Express).
It handles setting action flags to prevent further dispatch, adds checkout context to the login URL, and stores the return URL so customers can resume checkout after authentication.
Developers use this when implementing express payment methods that require customer login.
Public Methods
- redirectLogin()