Log in
Model

CcGenericConfigProvider

Magento\Payment\Model\CcGenericConfigProvider

What it does

This class provides configuration data for credit card payment methods in Magento 2's checkout process.

It generates frontend configuration including available card types, expiration months/years, CVV verification settings, and CVV tooltip images for registered payment methods.

Developers use this class as a base when implementing custom credit card payment methods that need to display credit card forms during checkout.

Public Methods

  • getConfig()