Skip to main content

PaymentOptions

PaymentOptions

Defines payment-related options in the VendureConfig.

Signature
interface PaymentOptions {
paymentMethodHandlers: PaymentMethodHandler[];
paymentMethodEligibilityCheckers?: PaymentMethodEligibilityChecker[];
customPaymentProcess?: Array<PaymentProcess<any>>;
process?: Array<PaymentProcess<any>>;
}

paymentMethodHandlers

Defines which PaymentMethodHandlers are available when configuring PaymentMethods

paymentMethodEligibilityCheckers

Defines which PaymentMethodEligibilityCheckers are available when configuring PaymentMethods

customPaymentProcess

property
Array<PaymentProcess<any>>

process

property
v2.0.0
Array<PaymentProcess<any>>
default:
<a href='/reference/typescript-api/payment/default-payment-process#defaultpaymentprocess'>defaultPaymentProcess</a>

Allows the definition of custom states and transition logic for the payment process state machine. Takes an array of objects implementing the PaymentProcess interface.