Log in
Model

PaymentCaptchaConfigProvider

Magento\Checkout\Model\PaymentCaptchaConfigProvider

What it does

This class provides CAPTCHA configuration data for payment processing in the checkout process.

Developers use this to integrate CAPTCHA verification during payment submission to prevent automated attacks and rate limiting abuse.

It determines if CAPTCHA is required based on customer login status and failed attempt history, then generates the necessary configuration for frontend display.

Public Methods

  • getConfig()