BillingDetailsCollectionConfiguration: {
    name?: CollectionMode;
    phone?: CollectionMode;
    email?: CollectionMode;
    address?: AddressCollectionMode;
    attachDefaultsToPaymentMethod?: Boolean;
}

Type declaration

  • Optionalname?: CollectionMode

    How to collect the name field. Defaults to CollectionMode.automatic.

  • Optionalphone?: CollectionMode

    How to collect the phone field. Defaults to CollectionMode.automatic.

  • Optionalemail?: CollectionMode

    How to collect the email field. Defaults to CollectionMode.automatic.

  • Optionaladdress?: AddressCollectionMode

    How to collect the billing address. Defaults to CollectionMode.automatic.

  • OptionalattachDefaultsToPaymentMethod?: Boolean

    Whether the values included in Configuration.defaultBillingDetails should be attached to the payment method, this includes fields that aren't displayed in the form. If false (the default), those values will only be used to prefill the corresponding fields in the form.

MMNEPVFCICPMFPCPTTAAATR