Log in
Model

CaptchaRateLimiter

Magento\Checkout\Model\CaptchaRateLimiter

What it does

This class implements rate limiting for checkout operations using CAPTCHA validation.

Developers use it to prevent automated abuse by requiring CAPTCHA verification after multiple failed attempts from guests or customers.

It validates CAPTCHA responses, logs attempts, and throws exceptions when validation fails or CAPTCHA is required but not provided.

Public Methods

  • limit()