Skip to main content

PaymentMethodEligibilityChecker

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

Example

Ts
Signature

constructor

method(config: PaymentMethodEligibilityCheckerConfig<T>) => PaymentMethodEligibilityChecker

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

Signature

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 Feb 25, 2026ยทEdit this page