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.
Field-level validation errors reported through PrimerCardFormController.State.fieldErrors.

SyncValidationError

PrimerInputElementType

Validation timing

Fields validate on blur (when the user leaves a field), not while typing.
isFormValid updates in real-time as the user types. fieldErrors only updates on blur. Use isFormValid for submit button state and fieldErrors for error messages.