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

context

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 the callback is called with true, show the Google Pay button. When it is called with false, display other checkout options.

Parameters

context

Android Context