createForCompose

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

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.