I am trying to do gpay integration in my application, but getting authentication error, dont know what I am missing or where the issue is. Firstly I am initializing gpay with braintree client which works fine.On click on button this function (onGooglePayButtonClick()) get called but then dialog appears with authentication error
General information
I am trying to do gpay integration in my application, but getting authentication error, dont know what I am missing or where the issue is. Firstly I am initializing gpay with braintree client which works fine.On click on button this function (onGooglePayButtonClick()) get called but then dialog appears with authentication error
` googlePayClient = GooglePayClient(this, braintreeClient) googlePayClient.setListener(this) googlePayClient.isReadyToPay(requireActivity()) { isReadyToPay, error -> if (isReadyToPay) { vb.rlGpay.visibility = View.VISIBLE } }
fun onGooglePayButtonClick() { val googlePayRequest = GooglePayRequest()
override fun onGooglePaySuccess(paymentMethodNonce: PaymentMethodNonce) { Log.d("paymentMethodNonce", "$paymentMethodNonce") }
`