Log in
Model

CanUseForCurrency

Magento\Payment\Model\Checks\CanUseForCurrency

What it does

This class validates whether a payment method can be used with a specific currency in a quote.

Developers use this during checkout to filter out payment methods that don't support the store's base currency, ensuring only compatible payment options are displayed to customers.

Public Methods

  • isApplicable()