Model
CcConfigProvider
Magento\Payment\Model\CcConfigProvider
What it does
This class provides credit card payment configuration data to the frontend checkout, specifically the icons for available credit card types (Visa, MasterCard, etc.).
Developers use this when customizing checkout payment forms or adding custom credit card types, as it automatically loads card images and their dimensions for display in the payment method section.
Public Methods
- getConfig()
- getIcons()