InttegroPaymentSheet

fun InttegroPaymentSheet(configuration: PaymentSheetConfiguration, onResult: (PaymentSheetResult) -> Unit, onDismissRequest: () -> Unit, modifier: Modifier = Modifier, adapter: PaymentSheetAdapter? = null, telemetry: PaymentSheetTelemetry? = null, eventListener: CheckoutEventListener? = null)(source)

Renders Inttegro Checkout in a Material 3 modal bottom sheet.

The composable retrieves merchant and Order display data from Checkout, collects a supported method, handles confirmation and provider authorization, and reports exactly one terminal result. Recoverable attempt failures remain inside the sheet.

The host controls whether this composable is in composition. When onDismissRequest is called, remove it from composition. A completed result is client state only; verify the owner-scoped Order from the backend before fulfillment.

Parameters

configuration

Validated Checkout and presentation options.

onResult

Called once for completion, cancellation, or terminal failure.

onDismissRequest

Called when the host should remove the modal.

modifier

Modifier applied to the Material sheet.

adapter

Optional custom adapter for previews or controlled tests.

telemetry

Optional host-owned diagnostic source shared with the adapter.

eventListener

Optional application-facing Checkout lifecycle receiver.