handle Activity Result
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
request Code
request code from Activity.onActivityResult method
result Code
result code from Activity.onActivityResult method
data
intent from Activity.onActivityResult method
result
callback with the result of Google Pay module