Log in
Model

CanUseCheckout

Magento\Payment\Model\Checks\CanUseCheckout

What it does

This class checks whether a payment method can be used during the storefront checkout process.

Developers use this specification to validate payment methods before displaying them to customers at checkout, ensuring only checkout-compatible payment methods are available.

Public Methods

  • isApplicable()