rememberLauncher

fun rememberLauncher(    publishableKey: String,     stripeAccountId: String? = null,     callback: PaymentLauncher.PaymentResultCallback): PaymentLauncher

Deprecated

Use rememberPaymentLauncher() instead

Replace with

rememberPaymentLauncher(publishableKey, stripeAccountId, callback)

Create a PaymentLauncher used for Jetpack Compose.

This API uses Compose specific API rememberLauncherForActivityResult to register a ActivityResultLauncher into current activity, it should be called as part of Compose initialization path. The PaymentLauncher created is remembered across recompositions. Recomposition will always return the value produced by composition.