Skip to main content

PaymentMethodEligibilityChecker

PaymentMethodEligibilityChecker

The PaymentMethodEligibilityChecker class is used to check whether an order qualifies for a given PaymentMethod.

Example

Ts
Signature

PaymentMethodEligibilityCheckerConfig

Configuration passed into the constructor of a PaymentMethodEligibilityChecker to configure its behavior.

Signature

CheckPaymentMethodEligibilityCheckerFn

A function which implements logic to determine whether a given Order is eligible for a particular payment method. If the function resolves to false or a string, the check is considered to have failed. A string result can be used to provide information about the reason for ineligibility, if desired.

Signature
Was this chapter helpful?
Report Issue
Edited Apr 20, 2026ยทEdit this page