rememberGooglePayPaymentMethodLauncher

Creates a GooglePayPaymentMethodLauncher that is remembered across compositions.

This must be called unconditionally, as part of the initialization path.

Parameters

config

The GooglePayPaymentMethodLauncher.Config used to configure the integration.

readyCallback

Called after determining whether Google Pay is available and ready to use. GooglePayPaymentMethodLauncher.present may only be called if Google Pay is ready.

resultCallback

Called with the result of the GooglePayPaymentMethodLauncher operation