getPaymentIntentResult
suspend fun Stripe.getPaymentIntentResult(requestCode: Int, data: Intent): PaymentIntentResult
Content copied to clipboard
Get the PaymentIntentResult from Intent returned via Activity#onActivityResult(int, int, Intent)}} for PaymentIntent automatic confirmation (see confirmPayment) or manual confirmation (see handleNextActionForPayment})
Parameters
Throws
failure to properly authenticate yourself (check your key)
your request has invalid parameters
failure to connect to Stripe's API
any other type of problem (for instance, a temporary issue with Stripe's servers)