PaymentOptions

PaymentOptions

Defines payment-related options in the VendureConfig.

Signature

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

Members

paymentMethodHandlers

property
Defines which PaymentMethodHandlers are available when configuring PaymentMethods

paymentMethodEligibilityCheckers

Defines which PaymentMethodEligibilityCheckers are available when configuring PaymentMethods

customPaymentProcess

property
type:
Array<PaymentProcess<any>>

process

property
v2.0.0
type:
Array<PaymentProcess<any>>
Allows the definition of custom states and transition logic for the payment process state machine. Takes an array of objects implementing the PaymentProcess interface.