0

I am running into an issue where isReadyToPay() from google.payments.api.PaymentsClient always returns false in Android Chrome version.(all other devices it works fine)

If I switch to Desktop version in chrome, it starts working and isReadyToPay() returns true.

enter image description here

Payload passed to isReadyToPay()

{
 "apiVersion":2,
 "apiVersionMinor":0,
  "allowedPaymentMethods":[
  {
     "type":"CARD",
     "parameters":{
        "allowedAuthMethods":[
           "PAN_ONLY",
           "CRYPTOGRAM_3DS"
        ],
        "allowedCardNetworks":[
           "AMEX",
           "DISCOVER",
           "JCB",
           "MASTERCARD",
           "VISA"
        ]
     }
    }
  ]
}

I tried changing allowedAuthMethods and Payment methods to see if it helps but it didn't.

Sydney_dev
  • 1,448
  • 2
  • 17
  • 24
  • are you able to share a link to your Google Pay integration? Also, is the behaviour reproducible on https://dmengelt.github.io/gpay-web-tester/ – Domi Jan 24 '23 at 15:46

0 Answers0