Log in
Model

OrderCustomerDelegate

Magento\Sales\Model\Order\OrderCustomerDelegate

What it does

This class handles the delegation of guest orders to customer accounts during the customer registration process.

When a guest places an order and then creates an account, this class creates a redirect that will associate that order with the newly created customer account.

Developers would use this when implementing custom order-to-customer assignment flows or extending the default guest checkout to registered customer conversion process.

Public Methods

  • delegateNew()