confirmPayment()

The
confirmPayment()
method is used for stored card payments in Payment Element, directly entering the payment confirmation process.
Notes:
  • This method must be called on the main thread.
  • This method is mutually exclusive with.

Method signature

Java
Kotlin

Parameters

Return value

This method does not return any value.

Error codes