onFailure

abstract fun onFailure(error: PaymentError)

Payment failed, was declined, or an error occurred before completion.