@bigcommerce/checkout-sdk / AdyenIdealComponentOptions
-
↳
AdyenIdealComponentOptions
• Optional
brands: string
[]
Array of card brands that will be recognized by the component.
AdyenBaseCardComponentOptions.brands
• Optional
showBrandsUnderCardNumber: boolean
AdyenBaseCardComponentOptions.showBrandsUnderCardNumber
• Optional
showImage: boolean
Optional. Set to false to remove the bank logos from the iDEAL form.
• Optional
styles: StyleOptions
Set a style object to customize the input fields. See Styling Secured Fields for a list of supported properties.
AdyenBaseCardComponentOptions.styles
▸ Optional
onChange(state
, component
): void
Called when the shopper enters data in the card input fields. Here you have the option to override your main Adyen Checkout configuration.
Name | Type |
---|---|
state |
AdyenComponentEventState |
component |
AdyenComponent |
void
▸ Optional
onError(state
, component
): void
Called in case of an invalid card number, invalid expiry date, or incomplete field. Called again when errors are cleared.
Name | Type |
---|---|
state |
AdyenValidationState |
component |
AdyenComponent |
void
▸ Optional
onFieldValid(state
, component
): void
Name | Type |
---|---|
state |
AdyenValidationState |
component |
AdyenComponent |
void
AdyenComponentEvents.onFieldValid
▸ Optional
onSubmit(state
, component
): void
Called when the shopper selects the Pay button and payment details are valid.
Name | Type |
---|---|
state |
AdyenComponentEventState |
component |
AdyenComponent |
void