handleActivityResult

fun handleActivityResult(requestCode: Int, resultCode: Int, data: Intent?, result: (OpenGooglePayResult) -> Unit)

Method responsible for handling activity result with customRequestCode or GOOGLE_PAY_SCREENLESS_REQUEST_CODE code. Use this method on the same object that method openGooglePay was called.

Parameters

requestCode

request code from Activity.onActivityResult method

resultCode

result code from Activity.onActivityResult method

data

intent from Activity.onActivityResult method

result

callback with the result of Google Pay module