Log in
Model

InstructionsConfigProvider

Magento\OfflinePayments\Model\InstructionsConfigProvider

What it does

This class provides configuration data for offline payment methods (Bank Transfer and Cash on Delivery) to the frontend checkout.

It retrieves payment instructions from each method's configuration and makes them available to the checkout UI, ensuring the instructions are properly escaped and formatted with line breaks for display to customers.

Public Methods

  • getConfig()