handlePaymentData

fun handlePaymentData(requestCode: Int, resultCode: Int, data: Intent?): Boolean

Method to handle Activity results from Stripe activities. Pass data here from your host's #onActivityResult(int, int, Intent) function.

Return

true if the activity result was handled by this function, otherwise false

Parameters

requestCode

the request code used to open the resulting activity

resultCode

a result code representing the success of the intended action

data

an Intent with the resulting data from the Activity