Log in
Model

GetConfirmationKey

Magento\OrderCancellation\Model\GetConfirmationKey

What it does

This class manages confirmation keys for order cancellation requests.

When a customer initiates an order cancellation, this class retrieves an existing confirmation key or generates a new random 32-character key and stores it with the cancellation reason.

Developers would use this to implement secure order cancellation workflows that require customer confirmation.

Public Methods

  • execute()