kopia lustrzana https://github.com/ryukoposting/Signal-Android
Ensure we print the status message if there is a GooglePay error.
rodzic
6b5117a609
commit
87f175a96b
|
@ -102,7 +102,7 @@ class GooglePayApi(
|
|||
Activity.RESULT_CANCELED -> paymentRequestCallback.onCancelled()
|
||||
AutoResolveHelper.RESULT_ERROR -> {
|
||||
AutoResolveHelper.getStatusFromIntent(data)?.let {
|
||||
Log.w(TAG, "loadPaymentData failed with error code ${it.statusCode}")
|
||||
Log.w(TAG, "loadPaymentData failed with error code ${it.statusCode}: ${it.statusMessage}")
|
||||
paymentRequestCallback.onError()
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue