isReadyToPay
Before starting the Google Pay flow, use this method to check whether the Google Pay API is supported and set up on the device. When the callback is called with true, show the Google Pay button. When it is called with false, display other checkout options.
Parameters
Android Context
Before starting the Google Pay flow, use this method to check whether the Google Pay API is supported and set up on the device.
When callback is called with GooglePayReadinessResult.ReadyToPay, show the Google Pay Button. When callback is called with GooglePayReadinessResult.NotReadyToPay, display other checkout options.
Parameters
Before starting the Google Pay flow, use this method to check whether the Google Pay API is supported and set up on the device.
When the return value is GooglePayReadinessResult.ReadyToPay, show the Google Pay Button. When the Return value is GooglePayReadinessResult.NotReadyToPay, display other checkout options.
Return
Parameters
Android Context