PaymentOptions
PaymentOptions
Defines payment-related options in the VendureConfig.
Signature
interface PaymentOptions {
paymentMethodHandlers: PaymentMethodHandler[];
paymentMethodEligibilityCheckers?: PaymentMethodEligibilityChecker[];
customPaymentProcess?: Array<PaymentProcess<any>>;
process?: Array<PaymentProcess<any>>;
refundProcess?: Array<RefundProcess<any>>;
}
paymentMethodHandlers
property
Defines which PaymentMethodHandlers are available when configuring PaymentMethods
paymentMethodEligibilityCheckers
property
Defines which PaymentMethodEligibilityCheckers are available when configuring PaymentMethods
customPaymentProcess
property
Array<PaymentProcess<any>>
process
Allows the definition of custom states and transition logic for the payment process state machine. Takes an array of objects implementing the PaymentProcess interface.
refundProcess
Allows the definition of custom states and transition logic for the refund process state machine. Takes an array of objects implementing the RefundProcess interface.