Skip to main content
The Custom elements section holds merchant-defined fields you configure per integration. Each slot is one mounted child managed by Checkout, keyed by a name you choose.

Enable the section

Pass customElements as an object of named slots. Each slot picks one of the Custom element types.
Supported elementType values:
  • 'text': single-line text input. See Text.
  • 'number': numeric input with optional min / max / step. See Number.
  • 'select': dropdown with typed options. See Select.
  • 'checkbox': boolean checkbox. See Checkbox.

Section position

The section renders after Payment methods by default. Move it with order:

Programmatic access

Reach into a slot with checkout.getCustomElement(name):
Returns null if the slot is not configured.

Submitted value

Custom values are folded into the Checkout payload, keyed by slot name:
Each entry is the current typed value from the corresponding element.

See also

Last modified on July 17, 2026