Explore the Android Checkout Compose component hierarchy and customization points interactively.
Explore the Android Checkout Compose component hierarchy interactively. Click on any composable to see its parameters, available states, and copyable Kotlin code examples.
Key State Types
PrimerCheckoutState
State
Description
Loading
Checkout is initializing
Ready
Payment methods available (contains clientSession)
Success
Payment completed (contains checkoutData)
Failure
Payment failed (contains error)
PrimerCardFormController.State
Property
Type
Description
cardFields
CardFields
Card field values and validation
billingFields
BillingFields
Billing address field values
fieldErrors
List<SyncValidationError>?
Validation errors (each with inputElementType, errorId, fieldId, errorResId)