Log in
Model

DefaultConfigProvider

Magento\Checkout\Model\DefaultConfigProvider

What it does

This class provides essential configuration data for the Magento 2 checkout page, including customer information, quote details, shipping methods, payment options, and totals.

Developers use this to understand what data is passed to the checkout frontend or to extend checkout configuration by creating their own config provider that implements ConfigProviderInterface.

Public Methods

  • getConfig()
  • getRegisterUrl()
  • getCheckoutUrl()
  • pageNotFoundUrl()
  • getDefaultSuccessPageUrl()