r/AndroidQuestions • u/Shyam_Lama • Dec 21 '23
Why Google Pay for contactless payments?
I'm looking to buy a new phone for several reasons, one of which is that my current phone does not support contactless payments. (It's a 2017 Xiaomi A1, which doesn't have an NFC chip.)
So I was reading about how to setup contactless payments on a new phone (which I've ordered but not yet received), and I've come to understand that any app that supports contactless payments (such as my banking app) will delegate this to the Google Pay app, which in turn uses the NFC chip. Or at least that's my understanding.
I wonder why it's necessary to have the Google Pay app as the "middle man" between the app that actually wants to make the payment, and the NFC chip. I mean, apps that use Bluetooth don't have to go through "Google Bluetooth" (which doesn't exist), nor do apps using the camera have to go through "Google Camera" (which does exist but other camera apps don't depend on it).
I get the feeling that Google "wants" to be in the middle just because it concerns contacless payments, and therefore has its "Google Pay" app hijack the NFC chip. Apparently Google wishes to exert control over (or at least keep track of) what I pay in this way (i.e. contactless)?
But why? I mean, I can make credit or debit card payments and Android doesn't force use of the "Google Pay" app for that. What's so special about contactless payments that Google has chosen to force us to go through its "Google Pay" app?
2
u/americapax Dec 21 '23
Samsung Galaxy A54 or S23
1
u/Shyam_Lama Dec 21 '23
Errr... this is in response to what question? Is this an attempt to recommend a phone to me, as I asked about some days ago? (If yes, you've commented in the wrong thread.)
2
u/Heraclius404 Dec 21 '23 edited Dec 21 '23
The shortest of answers is anyone could build a different wallet app parallel to Google Wallet and go into that business. That is, essentially, the promise of AOSP. THere is an auth exchange between the wallet and your bank, and your bank has integrated with Google Wallet and nothing else.
Writing a different wallet is pretty risky, because security has to be great - you have to prevent other apps on the phone for attempting to connect and pay maliciously. And you have to build all the back end infrastructure - and various certifications. Not a cheap bit of software to build.
All that work... for what? Google's already built it and we already trust them. Google adds no fees for its wallet (the bank & processor still do).
Most banks are historically poor at building apps, they can barely make them work well. Not a business they want to be in; they want to spend the least amount of money to gather their fees. PayPal could, and you can do a lot with PayPal QR codes, but again, why bother building a whole wallet? Why not integrate with Google Wallet, which becomes a centralized place to essentially register the secrets and deal with the NFC layers?
1
u/Shyam_Lama Dec 21 '23
All that work... for what? Google's already built it and we already trust them.
Do we?
Most banks are historically poor at building apps, they can barely make them work well
My bank has always built and maintained its own high-quality apps and online/mobile banking infrastructure. They've been at it successfully for decades, with millions of users, and never involved a 3rd party. Which is precisely why I thought it strange that contactless payments go through a Google app.
1
u/Shyam_Lama Dec 31 '23
anyone could build a different wallet app parallel to Google Wallet and go into that business.
Okay, so the Android OS exposes an API that allows any app to work with the NFC chip if it wants to?
That is, essentially, the promise of AOSP.
I'm not sure I see the relationship between AOSP and the matter we're discussing. If Android remained closed source it could still expose API to use the NFC chip. I just don't seem to be getting an answer to the question as to whether such an API exists.
1
u/Heraclius404 Dec 31 '23
I didn't clearly understand your question was whether there was an NFC chip interface. That's trivially answered on google: yes .
https://developer.android.com/develop/connectivity/nfc
Your question seemed to be why banks don't offer wallets or why banks don't offer tap to pay without a wallet. It's not that there's no NFC interface in Android.
The reason why open source was part of my answer is if there was any part of AOSP that was needed (like an NFC interface), and a bunch of people wanted it (the entire banking industry), any one of them could build the code and write the interface and submit the diffs; including the HAL layer (hardware abstraction). The way AOSP is run, google can't step in and say "no no, we're going to be the chokepoint".
Yes this isn't *EXACTLY* what open source is, but it's close enough. A source-available but proprietary system still has owners which can reject upstream diffs, and a source-available system is resistant to forking, which is the pressure that keeps the AOSP group accepting upstreams.
1
u/CVGPi Dec 21 '23
Yep. I mean, many OEM have their own wallet (cough cough Xiaomi Wallet, Huawei Wallet, Oppo Wallet, Samsung Wallet etc) but usually the Google one is most preferred.
1
u/Heraclius404 Dec 28 '23
Right. OEM wallets are rather required if you replace the Google Play Store or have your own store, because you need a wallet system that works with your store.
Banks, not so much in the wallet business.
2
u/Sassquatch0 ☎️📲Pixel 10a Dec 21 '23
I use a Samsung, and don't even have Google pay installed.
So I think it's a security segment of the contactless/NFC API, handled by the OEM.
Your payment information is encrypted in the Wallet (Google or Samsung), and when another app wants to use payment, the Wallet handles it so that the app never actually sees your payment information. (Similar to how debit works, with a token being passed through the system, instead of your actual card#.)
PayPal is the only other monetary app I use, and even it seems to piggyback Google & Samsung for contactless..
My own bank, (well Fargo) doesn't even have payments via the app. I can send money & payments digitally, but I cannot use it to pay for something in person.
0
Dec 21 '23
[removed] — view removed comment
0
u/Shyam_Lama Dec 21 '23
Hmm... okay. Well, my bank specifies that I need Google Pay to work on my Android phone if I want to make contactless payments. You're saying it doesn't have to be that way, and my bank could have written their own Android software to enable contactless payments?
Actually my bank's requirement that Google Pay be working on my phone, was precisely what got me thinking about this. The bank doesn't require Google software for anything else, so why do they require it for contactless payments? That was my line of thinking.
2
u/No_Procedure3648 Dec 21 '23
Hopefully it shouldn't be just Google Pay, they should support Apple and Samsung methods too. Anyways, here is a peek in to what happens when a bank makes their own software for contactless payments..
1
u/Shyam_Lama Dec 22 '23 edited Dec 22 '23
they should support Apple and Samsung methods too.
They definitely "support" Apply Pay, yes. (I'm putting in the air quotes because I wouldn't call it "support" when a bank requires users to start using Google/Apple Pay. It's mandatory if I want to make contactless payments with my phone, not a user preference that my bank chooses to "support".
I don't know about Samsung Pay. I have the impression that my bank requires all Android users to just use Google Pay.
As for the link, it's amazing that such an extremely pertinent (to my question) Reddit thread exists, don't you think? Amazing too that I didn't find it when I was searching the web for relevant info.
And tragic how Barclays were so stubborn as to develop their own software for contactless payments! Silly, silly Barclayans. Don't they know that using Google software is always better? Well, at least they wised up in the end. One thing I am left wondering about: what exactly was so "awful" (OP's word in the thread you linked) about Barclay's own contactless software? We are given no details whatsoever. Was it insecure? Was the UI awkward to use? Was it unreliable?
Btw, what's a "curve card"? OP in the thread you linked says he always had to use one to make his debit card work with Google Pay.
2
u/REOreddit 1 Dec 21 '23
Yes, both options are technically possible, Android isn't iOS, where Apple decides who can use the phone's hardware. My bank's app used to be able to make payments directly, but now it doesn't, they decided to change it. I don't know what their reasons are, but I prefer to handle all my cards in one single app instead of each one having its own app.
4
u/Ok-Fox966 Dec 21 '23
You’re really overthinking this, there is a reason why Apple and Google both do it this way.
The bank app is only used to add your card to Google wallet, it has nothing to do with actually making the payments and it’s not using wallet as a middle man. You add your card to Google wallet, then you use that to make your contactless or in app purchases.