PaymentResultContract
Deprecated
`PaymentResultContract` was moved to the `api.payment` package.
Replace with
import com.adyen.ipp.api.payment
Content copied to clipboard
PaymentResultContract
Content copied to clipboard
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