Country selection is part of the card form billing address flow:
val cardFormController = rememberCardFormController(checkout)val state by cardFormController.state.collectAsStateWithLifecycle()val selectedCountry: PrimerCountry? = state.selectedCountrycardFormController.requestCountrySelection()
Calling requestCountrySelection() opens the country picker. The selected country appears in state.selectedCountry.See PrimerCardFormController for full card form API.
Assistant
Responses are generated using AI and may contain mistakes.