Log in
Model

CaptchaPaymentProcessingRateLimiter

Magento\Checkout\Model\CaptchaPaymentProcessingRateLimiter

What it does

This class protects the payment processing functionality from abuse by implementing CAPTCHA-based rate limiting.

Developers use this to prevent automated attacks or excessive payment requests by requiring CAPTCHA verification when suspicious activity is detected.

It throws a PaymentProcessingRateLimitExceededException when rate limits are exceeded, ensuring secure payment operations.

Public Methods

  • limit()