Log in
Interface

PaymentSavingRateLimiterInterface

Magento\Checkout\Api\PaymentSavingRateLimiterInterface

What it does

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

Developers implement this interface to prevent abuse by limiting how many times a user can attempt to save payment information within a given timeframe.

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

Public Methods

  • limit()