Log in
Interface

PaymentProcessingRateLimiterInterface

Magento\Checkout\Api\PaymentProcessingRateLimiterInterface

What it does

This interface defines a rate limiter for payment processing operations in Magento 2 checkout.

Developers implement this interface to prevent abuse by limiting how many times a customer can initiate payment processing within a given timeframe, throwing an exception when the limit is exceeded.

Public Methods

  • limit()