Skip to main content
Primer Checkout Android SDK is currently in beta (v3.0.0-beta.4). The API is subject to change before the stable release.
Controller interface for the card payment form. Exposes observable state, field update methods, and submission actions.

Creation

Must be called inside PrimerCheckoutHost content or a PrimerCheckoutSheet slot.

Property

Methods

Field update methods

Action methods

State

NetworkSelection

PrimerInputElementType

SyncValidationError

See Validation for details.

FieldState

Validation errors appear on blur (when the user leaves a field), not while typing. Use isFormValid for submit button state and fieldErrors for error messages.