PaymentResultContract
Activity Result Contract implementation for the payment activities.
Example of usage with Jetpack Compose:
// Define the launcher.
val context = LocalContext.current
val launcher = rememberLauncherForActivityResult(PaymentResultContract()) { result ->
// Handle payment result.
}
// Then.
InPersonPayments.performReversal(
context = context,
paymentLauncher = launcher,
transactionRequestReversal = transactionRequestReversal,
)
Content copied to clipboard