presentForPaymentIntent

fun presentForPaymentIntent(clientSecret: String)

Present Google Pay to collect customer payment details and use it to confirm the PaymentIntent represented by clientSecret.

PaymentIntent.currency and PaymentIntent.amount will be used to populate the Google Pay TransactionInfo object.

Parameters

clientSecret

the PaymentIntent's client secret