Loading / Ready), client-session updates, and the terminal payment outcomes (Success / Failure). Observe via PrimerCheckoutController.state.
There is no separate event callback. Payment outcomes that earlier releases delivered through an
onEvent lambda are now terminal states of this flow — observe Success and Failure here.Definition
States
Ready properties
Client-session updates
When the client session changes during checkout (for example after a billing-address change orsetVaultOnSuccess), the state goes from Ready with the old session to Ready with the updated one. Read totals, fees, and surcharges from Ready.clientSession. To show progress while the update is in flight, use isLoading on the card form state (rememberCardFormController(checkout).state).