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.
Modal bottom sheet composable with built-in navigation between screens (splash, loading, payment methods, card form, success, error). Each screen is a slot parameter you can override.

Signature

There is no onEvent callback. The built-in success / error slots render the in-sheet result screens; to react programmatically (navigate, log, refresh your cart), observe checkout.state for PrimerCheckoutState.Success / PrimerCheckoutState.Failure.

Parameters

PrimerCheckoutSheetDefaults

Pre-built composable implementations for each screen slot.

PrimerCheckoutSheet vs PrimerCheckoutHost