Skip to main content
The submitButton element is a pure relay. It has no value, no validation, and no internal state. Fires onReady once on mount and onSubmit (with value: undefined) on every click. Use it to drive an external card.submit() / bank.submit() call while keeping the button’s chrome themed with the rest of the SDK when you are composing standalone elements yourself. Checkout renders its own submit CTA and does not accept a submitButton inside it — reach for submitButton only for standalone layouts.

Factory

Example

Options

submitButton has no value and no validation.

Events

Focus and blur are wired to the underlying <button> and fire normally. onEscapeKeyPressed is not emitted (there is no shopper-dismissible input).

Value

The onSubmit payload’s value is always undefined. Read data from other elements’ onChange snapshots (or their .value getters where available) inside your onSubmit handler.

Updating at runtime

Use update() to toggle disabled based on other elements’ complete state:

Inside Checkout

Checkout renders its own submit control. Use standalone submitButton when composing elements outside Checkout, or when you need a themed button for a fully custom layout.

See also

Last modified on July 30, 2026