onError

abstract fun onError(error: Throwable)

Called when there's an error providing the PaymentIntent

Parameters

error

The error that occurred