onInteractionRequired

abstract fun onInteractionRequired(interaction: PaymentInteraction)

This method is called when a payment interaction requires a response from your application.

Inspect the concrete PaymentInteraction type to determine which UI to display and invoke its callback to continue the payment.

Parameters

interaction

The payment interaction requiring a response.