CardInputEventTypes

Input event types emitted from the Card payment method instance.

Values

  • cardBrandChanged String

    The payment form detected a new likely credit card brand based on the card number.

  • errorClassAdded String

    A form field has an invalid value, and the corresponding error CSS class was added to the element.

  • errorClassRemoved String

    An invalid value on a form field was corrected, and the corresponding error CSS class was removed from the element.

  • escape String

    The user pressed the "Escape" key while editing a field.

  • focusClassAdded String

    A form field gained focus, and the corresponding focus CSS class was added to the element.

  • focusClassRemoved String

    A form field lost focus, and the corresponding focus CSS class was removed from the element.

  • postalCodeChanged String

    The current value of the postal code form field changed.

  • submit String

    The user has triggered submission of the form by pressing "Enter" while editing a field.