requestPayment
Launch a Google Pay request. This method will show the payment instrument chooser to the user.
Parameters
activity
Android FragmentActivity
request
The GooglePayRequest containing options for the transaction.
open fun requestPayment(@NonNull activity: FragmentActivity, @NonNull request: GooglePayRequest, @NonNull callback: GooglePayRequestPaymentCallback)
Deprecated
Launch a Google Pay request. This method will show the payment instrument chooser to the user.
Deprecated. Use requestPayment.
Parameters
activity
Android FragmentActivity
request
The GooglePayRequest containing options for the transaction.
callback