CreatePaymentFn

CreatePaymentFn

Documentation generated from payment-method-handler.ts on Feb 19 2019 at 16:20

This function contains the logic for creating a payment. See PaymentMethodHandler for an example.

Signature

type CreatePaymentFn<T extends PaymentMethodArgs> = (
    order: Order,
    args: ConfigArgValues<T>,
    metadata: PaymentMetadata,
) => PaymentConfig | Promise<PaymentConfig>
alpha