@bigcommerce/checkout-sdk / CardElementOptions
-
↳
CardElementOptions
• Optional classes: StripeElementClasses
Set custom class names on the container DOM element when the Stripe element is in a particular state.
• Optional disabled: boolean
Applies a disabled state to the Element such that user input is not accepted. Default is false.
• Optional hideIcon: boolean
• Optional hidePostalCode: boolean
Hide the postal code field. Default is false. If you are already collecting a full billing address or postal code elsewhere, set this to true.
• Optional iconStyle: Solid | Default
Appearance of the icon in the Element.
• Optional style: StripeElementStyle
Customize the appearance of an element using CSS properties passed in a Style object, which consists of CSS properties nested under objects for each variant.
• Optional value: string
A pre-filled set of values to include in the input (e.g., {postalCode: '94110'}). Note that sensitive card information (card number, CVC, and expiration date) cannot be pre-filled