tokenize

fun tokenize(paymentData: PaymentData, callback: GooglePayTokenizeCallback)

Call this method when you've received a successful PaymentData response from a direct Google Play Services integration to get a GooglePayCardNonce or PayPalAccountNonce.

Parameters

paymentData

PaymentData retrieved from directly integrating with Google Play Services through PaymentsClient.loadPaymentData


After a user successfully authorizes Google Pay payment via GooglePayClient.createPaymentAuthRequest, this method should be invoked to tokenize the payment method to retrieve a PaymentMethodNonce

Parameters

paymentAuthResult