confirmPaymentIntentSynchronous
fun confirmPaymentIntentSynchronous(confirmPaymentIntentParams: ConfirmPaymentIntentParams, idempotencyKey: String? = null): PaymentIntent
Deprecated
use {@link #confirmPayment(Activity, ConfirmPaymentIntentParams)}
Blocking method to confirm a PaymentIntent object. Do not call this on the UI thread or your app will crash.
See Confirm a PaymentIntent. POST /v1/payment_intents/:id/confirm
Return
a PaymentIntent or null
if a problem occurred
Parameters
confirmPaymentIntentParams
a set of params with which to confirm the PaymentIntent
idempotencyKey
optional, see Idempotent Requests