Log in
Model

GuestPaymentInformationManagementPlugin

Magento\Persistent\Model\Checkout\GuestPaymentInformationManagementPlugin

What it does

This plugin intercepts guest checkout payment information saving to handle persistent shopping cart scenarios.

When a customer has a persistent session but isn't logged in, it ensures the quote is properly converted to a guest quote and updates all addresses with the provided email address, allowing seamless checkout continuation from a persistent cart.

Public Methods

  • beforeSavePaymentInformation()