PaymentIntentCallback

Callback interface for receiving PaymentIntent results

Functions

Link copied to clipboard
abstract fun onError(error: Throwable)

Called when there's an error providing the PaymentIntent

Link copied to clipboard
abstract fun onSuccess(paymentIntent: PaymentIntent)

Called when PaymentIntent is successfully provided