@bigcommerce/checkout-sdk › AdyenComponentEvents
-
AdyenComponentEvents
▸ onChange(state
: AdyenComponentState, component
: AdyenComponent): 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 |
AdyenComponentState |
component |
AdyenComponent |
Returns: void
▸ onError(state
: AdyenComponentState, component
: AdyenComponent): 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 |
AdyenComponentState |
component |
AdyenComponent |
Returns: void