Optional
name?: CollectionModeOptional
phone?: CollectionModeHow to collect the phone field. Defaults to CollectionMode.automatic
.
Optional
email?: CollectionModeHow to collect the email field. Defaults to CollectionMode.automatic
.
Optional
address?: AddressCollectionModeHow to collect the billing address. Defaults to CollectionMode.automatic
.
Optional
attachDefaultsToPaymentMethod?: BooleanWhether 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.
How to collect the name field. Defaults to
CollectionMode.automatic
.