Log in
Interface

PaymentProcessingRateLimiterInterface

Magento\Checkout\Api\PaymentProcessingRateLimiterInterface

What it does

This interface defines a contract for rate limiting payment processing attempts in Magento 2 checkout.

Developers implement this interface to prevent abuse by restricting how many times a user can initiate payment processing within a given timeframe.

When the limit is exceeded, it throws a PaymentProcessingRateLimitExceededException to block further payment attempts.

Public Methods

  • limit()