Skip to content

Latest commit

 

History

History
162 lines (92 loc) · 3.68 KB

AdyenIdealComponentOptions.md

File metadata and controls

162 lines (92 loc) · 3.68 KB

@bigcommerce/checkout-sdk / AdyenIdealComponentOptions

Interface: AdyenIdealComponentOptions

Hierarchy

Table of contents

Properties

Methods

Properties

brands

Optional brands: string[]

Array of card brands that will be recognized by the component.

Inherited from

AdyenBaseCardComponentOptions.brands


showBrandsUnderCardNumber

Optional showBrandsUnderCardNumber: boolean

Inherited from

AdyenBaseCardComponentOptions.showBrandsUnderCardNumber


showImage

Optional showImage: boolean

Optional. Set to false to remove the bank logos from the iDEAL form.


styles

Optional styles: StyleOptions

Set a style object to customize the input fields. See Styling Secured Fields for a list of supported properties.

Inherited from

AdyenBaseCardComponentOptions.styles

Methods

onChange

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.

Parameters

Name Type
state AdyenComponentEventState
component AdyenComponent

Returns

void

Inherited from

AdyenComponentEvents.onChange


onError

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.

Parameters

Name Type
state AdyenValidationState
component AdyenComponent

Returns

void

Inherited from

AdyenComponentEvents.onError


onFieldValid

Optional onFieldValid(state, component): void

Parameters

Name Type
state AdyenValidationState
component AdyenComponent

Returns

void

Inherited from

AdyenComponentEvents.onFieldValid


onSubmit

Optional onSubmit(state, component): void

Called when the shopper selects the Pay button and payment details are valid.

Parameters

Name Type
state AdyenComponentEventState
component AdyenComponent

Returns

void

Inherited from

AdyenComponentEvents.onSubmit