Log in
Model

CaptchaPaymentSavingRateLimiter

Magento\Checkout\Model\CaptchaPaymentSavingRateLimiter

What it does

This class implements rate limiting for payment saving requests during checkout using CAPTCHA verification.

Developers use this to prevent abuse and excessive payment information submission attempts by requiring CAPTCHA validation after a certain threshold.

When the rate limit is exceeded, it throws a PaymentProcessingRateLimitExceededException while still allowing the customer to proceed with checkout.

Public Methods

  • limit()