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.
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.