Log in
Model

CanUseForCurrency

Magento\Payment\Model\Checks\CanUseForCurrency

What it does

This class validates whether a payment method can be used with the currency configured for a specific store.

Developers use this check during checkout to ensure only payment methods that support the store's base currency are available to customers.

It's part of Magento's payment method specification system that determines payment method availability.

Public Methods

  • isApplicable()