PaymentSheetLauncher

Stable Activity launcher consumed by the official React Native and Flutter SDKs.

It validates versioned JSON before creating an Intent, correlates telemetry with that presentation, and releases listeners when the result is decoded. Native Compose applications should prefer InttegroPaymentSheet.

Functions

Link copied to clipboard
fun createIntent(context: Context, payload: String, eventListener: PaymentSheetBridgeEventListener? = null, telemetryListener: PaymentSheetBridgeEventListener? = null): Intent

Creates an Intent for one isolated native presentation.

Link copied to clipboard
fun release(intent: Intent?)

Releases telemetry state when an Activity result will not be decoded.

Link copied to clipboard

Returns bridge-safe terminal result JSON and releases its listener.

Link copied to clipboard

Validates framework configuration without presenting UI.