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.
Object providing pre-built composable functions for each part of the card form. Use these to rearrange or selectively replace sections of PrimerCardForm.

Card detail fields

All field functions accept controller: PrimerCardFormController and modifier: Modifier = Modifier (except CardNetworkField which has no modifier).

Billing address fields

Only rendered when required by the session configuration.

Content composables

CardDetailsContent

Renders the default card details layout. Each field can be individually replaced via slot parameters.

BillingAddressContent

Renders the default billing address layout. Only renders fields required by the session.

Submit button

SubmitButton

Default pay button that displays the formatted amount, disables when invalid or submitting, and shows a loading indicator during submission.