Model
CcConfigProvider
Magento\Payment\Model\CcConfigProvider
What it does
This class provides configuration data for credit card payment forms in the Magento checkout process.
It retrieves and prepares credit card type icons (Visa, Mastercard, etc.) with their dimensions and URLs to display them on the frontend payment form.
Developers use this when customizing credit card payment method displays or adding new card type icons.
Public Methods
- getConfig()
- getIcons()