Google Pay button can show a different card from the one selected at checkout

Hi Square Developer Team,

Google Pay Support flagged an issue with our Square checkout. The Google Pay button can show the last four digits of one card, but when the buyer clicks it, a different card may be selected. This can leave the buyer unsure which card they’re about to use.

Is there a setting we can change in our Square integration so the card shown on the button is the one selected when Google Pay opens? What does Square recommend?

Hi @pruthviraj.gohil , welcome to the forums!

I had a quick look and I think this is down to how the Square Web payments SDK builds the Google Pay button. i.e. there’s nothing in your integration or dashboard that would fix this.

It’s worth checking if it’'s just a stale card (i.e. Google caching a card for the button that’s been removed/expired). But other than that there is no merchant side setting that will fix this right now.

I’m going to raise this as bug internally and I’ll come back and update once I hear back. With a bit of luck this will be resolved quickly.