onReady

abstract fun onReady(isReady: Boolean)

Called when Google Pay is ready.

This can be used to update the Google Pay button UI state (e.g. visibility or enabled state)

Parameters

isReady

true if Google Pay is ready, otherwise false