zibri
    Preparing search index...

    Configuration for the payment plugin.

    type PaymentPluginOptions<
        M extends readonly PaymentMethod[],
        P extends readonly AnyPaymentProviderInterface[],
    > = {
        paymentMethods: M;
        paymentProviders: P;
        providerNameForMethod: Record<M[number], P[number]["name"]>;
    }

    Type Parameters

    Index

    Properties

    paymentMethods: M

    The payment methods to use (credit card, bank transfer etc.).

    paymentProviders: P

    The payment providers to register (Stripe, PayPal etc.).

    providerNameForMethod: Record<M[number], P[number]["name"]>

    The mapping of which payment provider should be used for what payment method.