confirmExternalPaymentMethod

abstract fun confirmExternalPaymentMethod(externalPaymentMethodType: String, billingDetails: PaymentMethod.BillingDetails)

Called when a user confirms payment or setup with an external payment method.

On completion, this should call ExternalPaymentMethodResultHandler.onExternalPaymentMethodResult with the result of the external payment method's confirmation.

Parameters

externalPaymentMethodType

The external payment method to confirm payment with

billingDetails

Any billing details you've configured PaymentSheet to collect