How Does Apple/Google Pay Work?

Поделиться
HTML-код
  • Опубликовано: 7 июн 2024
  • Weekly system design newsletter: bit.ly/3tfAlYD
    Checkout our bestselling System Design Interview books:
    Volume 1: amzn.to/3Ou7gkd
    Volume 2: amzn.to/3HqGozy
    ABOUT US:
    Covering topics and trends in large-scale system design, from the authors of the best-selling System Design Interview series.

Комментарии • 272

  • @_dekinci
    @_dekinci Год назад +625

    GPay token is definitely stored on Google servers as it allows you to pay online with a Google account, e.g. on a PC.

    • @aame6643
      @aame6643 Год назад +54

      Doesn’t Apple also have Wallet on Mac though?

    • @TischBacchus021
      @TischBacchus021 Год назад +33

      @@aame6643 I think so, yes. So they must transmit the token to the Mac, too.

    • @LimitedWard
      @LimitedWard Год назад +15

      @@aame6643 They may store the encrypted tokens on iCloud to transfer between devices.

    • @aame6643
      @aame6643 Год назад +48

      Never mind, to use it on Mac you need to verify using the PIN number, which btw is also the case when using Apple Pay on the watch.
      So the token definitely isn’t stored on their servers.

    • @prokopCerny
      @prokopCerny Год назад +10

      Cards that you add directly on device is not added to your Google account. Just recently I've encountered this after wanting to pay online with a card added on my phone and it wasn't in the list.

  • @mercy3428
    @mercy3428 Год назад +1

    It really worked for me after I look and try some tutorials, yours is the one that worked. Owe you a lot.

  • @AminFaudzi
    @AminFaudzi 8 месяцев назад +3

    I was informed by a GPay representative in Malaysia that GPay and Google Wallet is 2 separate things. Both might be offered in your country or just one of it or none at all. Google Wallet is where you store your credit card info, passes, tickets, or anything that could be sync with it. GPay is where the payment take place.

  • @rohansampat1995
    @rohansampat1995 Год назад +6

    Wonder if you could do a piece on how hardware attestation works.

  • @Vinod_Kumar827
    @Vinod_Kumar827 Год назад +2

    Awesome....something learned today :)

  • @user-ej1zg4xy9u
    @user-ej1zg4xy9u Год назад +1

    Thank you for a brilliant video.
    If a user is using a merchant web interface to purchase on line using Apple Pay / Google Pay would the same tokenization process and DPAN / DAN creation apply?

  • @muhdaimanharith
    @muhdaimanharith Год назад +156

    Google implementation make sense considering not all android manufacturers willing to add additional chip due to cost.. this way they can provide the service to any customer with a phone that have NFC chip without compromise the security due to lack of dedicated chip..

    • @TheMrMerudin
      @TheMrMerudin Год назад +18

      Apple haters always find a way to desribe shit as a better alternative.

    • @MetoF50Narliev
      @MetoF50Narliev Год назад +29

      @@TheMrMerudin Let me guess, in the sterile isolated bubble of Apple, they probably marketed the about to be implemented USB Type-C as some sort of revolutionary technology invented by Apple.

    • @TheMrMerudin
      @TheMrMerudin Год назад +6

      @@MetoF50Narliev Let me guess, you never had more than an Apple device at home. Everything connects instantly and easly, if you want to pass a file from your phone to your computer you can just use AirDrop and that's it, or iCloud. On android you need to instal something like whatsapp or telegram or discord, login, and then you can pass something (with limits) on your PC. AirPods work with EVERYTHING: iPhone, iMac, MacBooks and iPads. Calls and messages are synced in every devices, so you always have your stuff with you. Even HomePod is perfectly connected with Apple music and your other devices. AppleWatch transfers fitness information in everything you have so you won't miss anything, even calls or messages. Even the fucking magic mouse is beautifully connected across nearby devices so you don't have to plug and unplug (or buy more) your SAME MOUSE everytime you have to work on stuff.
      Sterile? Isolated? Try to do this stuff on Android.

    • @MetoF50Narliev
      @MetoF50Narliev Год назад +17

      @@TheMrMerudin at what point does one use their brain to get something done then?

    • @ko_fes
      @ko_fes Год назад +15

      @@TheMrMerudin So if I use PC under Windows/Linux than buying IPhone is a mistake 'couse many cool features (that were paid for) will work only with others Apple devices? Sheesh

  • @1879heikkisorsa
    @1879heikkisorsa Год назад +29

    Very interesting. Can you make another video about the registering process of both as well since they are quite different (afaik Apple uses in-app provisioning).

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

  • @LimitedWard
    @LimitedWard Год назад +160

    Okay several followup questions:
    1. What's the difference between the token used by iOS vs Android? You mentioned Apple Pay uses a DAN while Google Pay uses a DPAN, but never really clarified how they differ.
    2. If this token is a secret, then why does the device provide the payment token to the PoS during checkout? Wouldn't that be vulnable to a compromised PoS or MitM attack?
    3. This feels like an ideal use case for public key cryptography. Why not have the bank issue a private key to each device for payment authorization, and then the payment authorization flow would just involve signing the transaction with the private key?

    • @europria
      @europria Год назад +8

      That is how I would imagine it would work. Private key would be stored in the device, tokens are generated and signed with that key with addition to expiration date and perhaps vendor id so if it stolen it is useless.

    • @ByteByteGo
      @ByteByteGo  Год назад +110

      Thank you for the questions.
      For 1, we don't think the exact token specification is that interesting. The payment token is a proxy for the actual card number, and it is tied to the device. The sensitive part is the mapping from the token to the card number, and it is stored in the token service provider.
      For 2 and 3, if you are interested, look up the EMV contactless specification. It uses cryptography to safeguard the token between the card (in this case, the phone emulating the card) and the card issuer. It is similar to how credit card with a chip works. There's quite a bit of complexity. The general idea is roughly the same as what you suggested.

    • @tushargarg9163
      @tushargarg9163 Год назад

      For one, I suspect the DAN in apple is linked to the device, thus only allowing payment requests to be made through that specific device where it is stored whereas in GPay, it's not and stored on the cloud and allows payment from a web based google account as mentioned in comment above ?

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

    •  10 месяцев назад

      For clarity, the token is just a normal card number, 16 digits, specific bins, just not the real card.

  • @abhisheksitar
    @abhisheksitar Год назад +2

    Great video! Thanks for sharing the light of knowledge.

  • @puneetmaheshwari
    @puneetmaheshwari Год назад

    wow thankyou for such a detailed and good information

  • @GlutesEnjoyer
    @GlutesEnjoyer Год назад +2

    Great follow up to a Reddit post I saw recently!

  • @SiNaiXXxx
    @SiNaiXXxx 2 месяца назад

    Excellent video and very well explained! Thanks!

  • @not_cogroo
    @not_cogroo Год назад

    Very good Video, thank you. How do you make your Animations?

  • @macdilen2009
    @macdilen2009 Год назад

    what tool you use for Architecture Diagram design?

  • @cris7ea
    @cris7ea Год назад

    Very good quality explanation

  • @user-wzb
    @user-wzb Год назад +2

    Thank you

  • @rinshadrasheed9436
    @rinshadrasheed9436 Год назад

    What tool was used to create the animation on this video?

  • @Bobamant
    @Bobamant 6 месяцев назад

    Good info.. thanks

  • @ProgrammingWithOsku
    @ProgrammingWithOsku Год назад

    I love your content you should get millions.

  • @johndoe-rq4gf
    @johndoe-rq4gf Год назад

    Interesting! Thanks

  • @axeltrujillo5693
    @axeltrujillo5693 Год назад +39

    That a was a neat explanation. I didn’t know there was a chip in iPhones dedicated for payment. Considering how Android must run on several devices, it makes sense that google pay uses other methods 🧐🤔

    • @KyrosKohKS
      @KyrosKohKS Год назад

      Apple develops their own hardware such as SoC chips and iOS so it is easier for them to make it even secure than Android as there's too many different phone manufacturers using the different type of hardware chips and most of them might not want to spend more times in these for development as the chips are not self-made by the phone manufacturers, rather than made by Qualcomm, MediaTek except Huawei, Google and Samsung phones using their own SoC.

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

  • @prozhoni4997
    @prozhoni4997 Год назад

    very interesting. Now I understand

  • @Md_sadiq_Md
    @Md_sadiq_Md Год назад +7

    Pushing the algorithm ❤️❤️

  • @yerbool
    @yerbool Год назад

    Nice video. Please make a similar one on Samsung Pay.

  • @YS-ln4im
    @YS-ln4im Год назад +3

    Thanks for informative video. One quesion as follows.
    1. this payment scheme is same/almost same as e-commerce payment and, in case, Does Google pay use HCE as well? Instead of NFC Controller what would be the couterpart?

    • @ByteByteGo
      @ByteByteGo  Год назад +7

      We cut out an entire section on how the Apple Pay and Google Pay buttons work that would have answered your question.
      In short, with the Google Pay button, the Google web server sends the payment token to the web browser, and from the web browser, the token is forwarded to the Payment Service Provider (PSP) for processing.
      The Apple Pay button only works in Safari on the Mac. As mentioned in the video, the payment token is only stored in the Secure Element on the phone. Once the phone authorizes the web payment, the payment token is sent from the phone to the apple server securely, the apple server re-encrypts the token with the developer's encryption key before sending it from the apple server to the developer (or their payment processor).

    • @sudiptomanna6876
      @sudiptomanna6876 Год назад +1

      @@ByteByteGo Thats correct. Also just to bring in the ApplePay on the web flavor where you can pay using your MACBOOK(as long as you have the biometric sensor on your MAC)
      With Earlier version of ApplePay only your Phone would act as payment source and Apple would create DAN only for your iPhone(6 and Above), with the release of MAC with biometric you can use your MACBOOK as a payment source and now your MACBOOK will have its own DAN.
      One thing to notice is ApplePay is only available if you are using SAFARI and not other browser.

  • @nidri
    @nidri Год назад +8

    Google wallet was initially released in May 2011.
    Apple pay was initially released in October 2014

  • @Cheelex333
    @Cheelex333 Год назад +1

    Does the Google Pay system function the same way on Pixel devices as it does other Android devices? Doesn’t the Titan M handle tokens like this?

  • @vikramdawesome
    @vikramdawesome Год назад +3

    Great video. What software do you use for animation?

    • @ByteByteGo
      @ByteByteGo  Год назад +3

      Adobe After Effects and Adobe Illustrator.

  • @UGANGOLUM
    @UGANGOLUM Год назад

    THANKS FOR THIS INFORMATIVE VIDEO

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

  • @abcd124
    @abcd124 Год назад +8

    can you also compare samsung pay? i know its a little different than google pay but i want to know what exactly

    • @madness1931
      @madness1931 Год назад +1

      Do you still need that answered? If so, I might be able to give some insight. From what I've read (doing a lot of that lately), Samsung Pay is kind of a hybrid approach. It still uses Samsung servers, can sync with them (to backup that financial data), but the token is saved on the device (like Apple) by default. It uses the Knox secure enviroment, to keep your details safe. It's why only Samsung devices, have Samsung Pay.

  • @luca7069
    @luca7069 Год назад +1

    Is Samsung Pay more similar to Google's or Apple's implementation?

  • @angelsancheese
    @angelsancheese Год назад

    Interesting. How do you know this stuff?

  • @DarkGT
    @DarkGT Год назад +24

    This channel is golden! Please keep making those videos.

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад +1

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

    • @DarkGT
      @DarkGT Год назад

      @@TheCommunicationCoach File a complaint to the federal trade commission. What do you expect from me dude.

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад +1

      @@DarkGT From you? Nothing. My only goal was to pass on information, and that's done.

    • @DarkGT
      @DarkGT Год назад

      @@TheCommunicationCoach Create your own video, make a posts around the social media like Reddit exposing your findings. Hijacking comments won't get you far, I tell you I don't care about your particular problem.

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад +1

      @@DarkGT Like I care any less about you or yours. You want to be spied on and info stolen? GL with that, so stop bothering me.

  • @roeniss
    @roeniss Год назад

    Can you volume up a bit please? It's quite lower than other youtube vids

  • @ashutoshgarg9126
    @ashutoshgarg9126 Год назад +25

    Can please make a video about how India's UPI works?
    How it is different from tokenization as there are no credit or debit card needed

  • @evenex.
    @evenex. Год назад +7

    I wonder what the Titan M2 Security Chip (built-in Pixel 6 and 7 Series) is doing then, when the payment token is stored in GPay itself.

    • @Lidi-Rumbling
      @Lidi-Rumbling Год назад +3

      Stores biometrics and other personal AI features. I wanna beleive it also involves in the Google Wallet App

    • @AbhishekKumar-fl8bw
      @AbhishekKumar-fl8bw Год назад +1

      GPay is available for all Android phones, not just Pixel.. and at the moment there isn't a large enough userbase of Pixel phones for Google to consider device specific changes in GPay functioning.

    • @a_decent_user
      @a_decent_user Год назад +2

      I've commented on it under the video already, but in short - yes, it's used to store GPay tokens. "stored in GPay itself" is a very misleading claim. Phones that have secure enclave use that to store payment tokens.

  • @cchojnowski
    @cchojnowski Год назад +5

    I love your videos. What program are you using to create animations?

    • @ByteByteGo
      @ByteByteGo  Год назад +6

      Adobe After Effects and Adobe Illustrator. Our editors get all the credit, though. :)

  • @cubajakub1485
    @cubajakub1485 Год назад

    Either its me or not but I sometimes have no internet and can pay with google wallet in flight mode? Theres no communication then with the servers?

  • @ButhMathearo
    @ButhMathearo Год назад

    - Do Apple Pay and GPay work for all POS terminals that already accepted contactless card?
    - How can Apple Pay and GPay communicate with EMV reader? as I see from the video, they only stored the DAN (Device Account Number)?

  • @Matthew_MBG
    @Matthew_MBG Год назад +1

    google pay now goes by google wallet except in the us and Singapore, where they have GPay AND Google Wallet, which work together. there is then India, which only has GPay

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

  • @swagatpritamsahoo5643
    @swagatpritamsahoo5643 Год назад +10

    In INDIA Gpay is used for UPI mostly.not for card payment.

    • @IAmSuyogJadhav
      @IAmSuyogJadhav Год назад

      That's due to a limitation imposed by RBI regarding storing debit card information

    • @ravitejaknts
      @ravitejaknts Год назад +2

      Gpay is different in India.

  • @carlmannhard8051
    @carlmannhard8051 Год назад

    Does this in any way obsolete Visa or Mastercard payments networks, or are they simply using Visa and Mastercard?

    • @carlmannhard8051
      @carlmannhard8051 Год назад

      Also, could they bypass Visa/Mastercard in the future and if so, how?

  • @DK-ox7ze
    @DK-ox7ze Год назад +3

    POS terminals are designed to accept credit cards, which I believe use a different tech to encrypt the credit card number and cvv. So how does these terminals directly accept the token from Apple or Google pay? Unless Apple pay converts that in the format acceptable to POS terminal.

    • @ByteByteGo
      @ByteByteGo  Год назад +1

      The phone talks to the POS terminal over NFC. Look up EMV contactless if you would like to learn more.

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

  • @DriverPlmk
    @DriverPlmk Год назад

    Cant you pay contactless by bank app?

  • @olehstakhiv9159
    @olehstakhiv9159 Месяц назад +1

    If Apple stores tokens in the device's secure element and does not store them in the cloud, how are my cards added on iPhone available on Mac?

  • @TheGreyOwl
    @TheGreyOwl Год назад +26

    Gpay works with UPI in India, should have mentioned it.

  • @Su.darshan
    @Su.darshan Год назад +17

    Does it work differently in European countries with IBAN? For example when Apple Pay was released in The Netherlands, terminals didn’t need to be replaced or software update, as long as it had NFC. It just worked. I was on vacation in USA, at Walmart I used Apple Pay and the employee looked surprised at me because apparently they don’t support it. But somehow it worked.

    • @fishmeat69
      @fishmeat69 Год назад +8

      No it doesn't work differently. I'm no expert but I believe IBANs are used specifically for routing funds tranfers to the correct bank and account number, whereas with the concepts in this video the routing is done through the Visa/Mastercard/Amex networks to connect financial institutions at POS - then those respective banks handle account routing internally.

    • @levitatie
      @levitatie Год назад +3

      nah it s only walmart and ig a few other stores that don't accept apple pay and that's because they have walmart pay or some shit to collect data from their customers

    • @SupernovaDragon77
      @SupernovaDragon77 Год назад +2

      I think Walmart is an exception. It’s the only store I ever went to which Apple Pay didn’t work with the card terminal

    • @fckSashka
      @fckSashka Год назад +2

      @@SupernovaDragon77 he clearly said it worked for him, even at walmart

    • @fckSashka
      @fckSashka Год назад +2

      Your iPhone literally just mimics your card. So as long as a place accepts NFC *card* payments, you can pay with your iPhone. I’m not sure if Walmart accepts those though as I’m not from the US. What I get from this video is that maybe European cards get handled different by the banks themselves (Walmart might be able to block Apple Pay if a card from an American bank is linked to it). Groetjes uit Luxemburg btw ;^)

  • @FlorinArjocu
    @FlorinArjocu Год назад +6

    Does this system work for blocking a sum of money on the card (for instance a hotel/car rental pre-authorization)? Or does it support getting money back, in case of a product return or due to some error during the payment? These work with the card.

    • @Coonotafoo
      @Coonotafoo Год назад +1

      A pre-authorization is only valid for 3 weeks (Visa/Master Card) or 7 days (American Express/Discover) if an authorization number obtained by the bank isn't "captured"/offlined/forced by the POS/Terminal the funds are automatically refunded to the card holder after the set time limit has expired. If a payment has been captured and needs to be refunded, generally the sponsor bank will allow for a refund to be preformed as most refunds are made blindly and can be interpreted by the bank's servers. Interestingly enough, while you can close out a pre-authorization amount for a higher amount, you generally cannot recharge a contactless card number. Since a new transaction needs to obtain an authorization number generally the bank will produce a host code 05 decline response if recharged.

    • @FlorinArjocu
      @FlorinArjocu Год назад

      @@Coonotafoo So there are problems also with usong the card, wirelessly. Do all these work when you use Google Pay / Samsung Pay / Apple Pay?

    • @Coonotafoo
      @Coonotafoo Год назад +1

      ​@@FlorinArjocu It's not actually a problem, no. What's stated above just about applies to ALL credit/debit card transactions, not just contactless transactions. About the only difference is that with a regular credit card the business can call the card processor and get the full credit card number and expiration date to rerun it (for example, if one of the employees accidentally undercharges the transaction by X amount.) Otherwise it's pretty much the same process. Plastic card/Apple Pay/Google Pay/Samsung pay, it doesn't matter. About the only card type that doesn't follow these rules are cards numbers that are generated to be ran for a very specific amount. (There's a few exceptions of course, but for 98% of all card transactions this is the case.)

    • @FlorinArjocu
      @FlorinArjocu Год назад

      @@Coonotafoo Thank you for the answers. I am curious as I think these phone&online systems use also some virtual cards, so the bank/visa&co. would not know how to pair the virtual card and the actual one. I have no idea how they work.

  • @ErnPrivado
    @ErnPrivado Год назад

    It seems like you can pay with ApplePay without internet? and not with Google since its dealing with cloud. Can you confirm?

  • @xeed4545
    @xeed4545 Год назад

    How is it possible then to pay via Apple Pay when your device has no connection to the Internet?
    Maybe I didnt understand everything, but it would be nice to know :)

  • @cqknight3742
    @cqknight3742 Год назад +1

    What about Samsung Pay? What is the different between them?

  • @fredyap1234
    @fredyap1234 Год назад +7

    I think one part that was not clarified / explained was how cryptogram comes into play during payment to ensure that the card and the transaction is genuine.

    • @marcostttttt
      @marcostttttt Год назад

      Yes I also was left in wish of this information

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

  • @choohanye9314
    @choohanye9314 Год назад +5

    does this mean that at any point of time, Google or Apple could use our token to authorize transactions on our behalf, even ones not directly authorized by us?

    • @zackpi7874
      @zackpi7874 Год назад +57

      yes, of course. And a bank could do that too. It's all relying on your trust in these entities to not screw you. One redeeming point is that if Apple or Google faked transactions, they would still appear in your bank statement so you could refute them (which would end up looking really bad for Apple / Google over time and the bank would drop them, crippling their business, so it's really not in their best interest to screw you over.

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      YES, and here's proof!! GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

  • @seshasaivenkat
    @seshasaivenkat Год назад +1

    Fantabulous , what software do you use for your animations ?

    • @bytebytego1838
      @bytebytego1838 Год назад +1

      Adobe After Effects and Adobe Illustrator.

  • @sanesharma7138
    @sanesharma7138 Год назад

    Plz also make a video on the following topics:
    1). How does Cloud Computing work?
    2). How does AI work?
    3). Fundamentals of ML
    4). How do Siri/ Alexa work?
    5). How does Whatsapp, Messenger work?

    • @eglintonflats
      @eglintonflats Год назад

      Ever heard of reading? You are asking for information which is for people who need to know and you don't need to know, otherwise, you would know it by now.

    • @sanesharma7138
      @sanesharma7138 Год назад

      @@eglintonflats lol okay, who hurt you!

  • @soumyaranjan_samal
    @soumyaranjan_samal Год назад

    Google pay was named TEZ before in India

  • @Isaac-gh5ku
    @Isaac-gh5ku Год назад

    0:57 Actually, Google Wallet started as far back as 2011.

  • @michalziobro7890
    @michalziobro7890 6 месяцев назад

    I don’t know how it looks now but several years ago 6? Google walet required enterin pin in POS terminal. Apple Pay didnt required

  • @samikammoun2
    @samikammoun2 Год назад +1

    Wouldn’t it be more secure if a new token was generated and sent to the phone each time a transaction is made ? This way, a malicious pos terminal won’t be able to record the info for reuse.
    Please correct me if I am missing something

    • @vasquezgamer2989
      @vasquezgamer2989 Год назад +1

      Would it be more secure? Sure, but there’s not a lot of point.
      Firstly, the process is plenty encrypted and you’ll rarely see an attack of that type because of it.
      Second, issuing a new token every time would take a lot more time at the time of purchase. They use temporary authorizing codes that change between purchases so that covers that potential for intercepting the info for unauthorized additional purchases, like a new cvc code per purchase. That’s the equivalent to why change the entire safe when you could just change the lock.
      Third and probably most important, these services need to be able to work offline. If you’re deep in rural country and you need to pay at the corner store which somehow has tap to pay, you can’t be SOL because you don’t have the phone signal to receive a new token. Also if you have a limited data plan, you want to be able to make purchases even if you have your data turned off. All these companies want to get to the point where your digital wallet replaces your physical one, and that can’t happen if you have to rely on having signal to use it. It would be overkill and really inconvenient!

  • @samuelyusuf6334
    @samuelyusuf6334 Год назад

    Is blockchain technology used to get those tokens or is this a completely different method?

    • @fusseldieb
      @fusseldieb Год назад +1

      It has nothing to do with blockchain

  • @bizobravo7096
    @bizobravo7096 Год назад

    Samsung Pay? How is their implementation in comparison to Apple’s and Google’s??

  • @guycaffeinated
    @guycaffeinated Год назад +1

    What is the flow for Google and apple pay over web browser?

    • @Hi-db5cd
      @Hi-db5cd Год назад

      You mean a web payment?

    • @guycaffeinated
      @guycaffeinated Год назад

      @@Hi-db5cd yep, my understanding is that a 3rd party payment gateway needs to be involved

  • @thesadboxman
    @thesadboxman Год назад

    What happens if the DAN or Payment token is compromised and leaked? Is it subject to replay attacks?

    • @fusseldieb
      @fusseldieb Год назад +1

      I think that the token is single-use only, just like rolling codes are on garage doors.

  • @biswas_saikat
    @biswas_saikat Год назад

    can you please make a video on Samsung Pay..... i wanna know how its works

  • @doggotime3370
    @doggotime3370 Год назад

    Nobody:
    Me at 3 AM:

  • @Tntdruid
    @Tntdruid Год назад +1

    Does not works on sites there use 3D Security by visa etc.

  • @Wesjapa100
    @Wesjapa100 Год назад +1

    Just googled and found that G Pay came first, on May 2011, whilst Apple Pay was released on Oct 2014.

    • @electricz3045
      @electricz3045 Год назад

      That was called Google Wallet back then.

  • @real_andrii
    @real_andrii Год назад

    Google Wallet first appearance was in September 2011.

    • @tamaskiss6379
      @tamaskiss6379 2 месяца назад

      VISA token service started only 2014. So Wallet couldn't use it yet. 🤷‍♂

    • @real_andrii
      @real_andrii 2 месяца назад

      @@tamaskiss6379 yet, people still could use Google Wallet to pay via NFC 😉

  • @lohphat
    @lohphat Год назад

    It's my understanding that Google keeps the payment I for because you can use Google pay without your phone to checkout from participating vendors.
    How does Apple participate in website checkout as an option if they don't store the token as Google does?

    • @vasquezgamer2989
      @vasquezgamer2989 Год назад

      They don’t, not in the same way. If you aren’t accessing the site on an apple device using safari, then that button won’t appear for Apple Pay at all. From there, you can only use Apple Pay on devices that have a Secure Enclave with iPhone, iPad, and Apple Watch which it’s been a while so most in the wild apple devices have one. For Macs that have Secure Enclave, it works the same way. With Macs before 2012 that don’t, it will send the payment request to your iPhone or Apple Watch which will process the transaction for the Mac once you authenticate with FaceID or whatever. If you add a card to your apple wallet, it doesn’t automatically sync to your other devices. When setting up, it’ll ask if you want to add to your Apple Watch too and if you say yes, it will run the process to add it to your Apple Watch separate from the iPhone’s wallet add. If you want to add the card to your Mac, you do that locally on the Mac. The purpose is that none of this information is stored in the cloud or communicated without your permission, it’s all local on the respective Secure Enclave.

  • @kaiser9744
    @kaiser9744 Год назад +1

    Does this mean you cannot use Google Pay without an internet connection as it will have to retrieve the token from the cloud?
    Apple Pay is usable even without an internet connection I believe, correct me if I’m wrong.

    • @ByteByteGo
      @ByteByteGo  Год назад +2

      Google Pay stores the payment token in the wallet app on the device and communicates over NFC with the POS terminal using Host Card Emulation. It does not require an internet connection.

    • @kaiser9744
      @kaiser9744 Год назад

      @@ByteByteGo thank you very much for the enlightenment!

  • @harrisonyg
    @harrisonyg Год назад

    Which one you are using, apple pay or gpay?

    • @ByteByteGo
      @ByteByteGo  Год назад +13

      We deal in cold hard cash.

  • @FWTteam
    @FWTteam 11 месяцев назад

    It means Google Pay can't support offline transactions?

  • @KirylAnoshko
    @KirylAnoshko Год назад

    Can PoS steal the payment token?

  • @markus.schiefer
    @markus.schiefer Год назад +6

    Not sure about Apple, but Google Pay has horrible customer service. Added an address, the payment profile was suspended and I got an email asking for addition information. Provided information, immediately received and email citing COVID as reason for delayed responses which is just ridiculous at this point. That was two weeks ago and still haven't received any update.
    I sure wouldn't want to rely on them.

    • @markIrSa
      @markIrSa Год назад +3

      I think thats a big difference between apple and google. Apple will NEVER email you asking for information, in this case if it were to happen, you would be prompted with an error forcing you to call them or schedule an appointment to be called back. No information is ever transferred between customer and apple through email. Also, almost everything you do in regards to Apple go through 2FA to ensure its really you using it, so changing addresses and information that be authenticated

    • @electricz3045
      @electricz3045 Год назад

      Hmm so because you had a issue with Google, it makes their whole customer support bad? Never had issues with the Google support.

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      They lie and deny all day!! GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

    • @markus.schiefer
      @markus.schiefer Год назад

      @@electricz3045 That was only one example. I have couple more, but what's the point. And, by the way, for that example I managed, they only answered 3(!) months later.

    • @electricz3045
      @electricz3045 Год назад

      @@markus.schiefer Google is a big company with a lot of users who want support so it's obvious that it takes time to answer questions.

  • @anjalisisodiya4093
    @anjalisisodiya4093 Год назад

    How about phonepe? Is it same as GPay?

  • @neel28sarkar
    @neel28sarkar Год назад +1

    What about Samsung Pay?

  • @ishaan16
    @ishaan16 Год назад

    Make a vid on how upi works

  • @iMonZ00
    @iMonZ00 Год назад

    4:00 this is actually not right. The token never leaves your phone. It works kinda like TOTP so like your authenticator app.
    The six digits are NOT the private key.

  • @Entertainment-
    @Entertainment- Год назад

    5:11 That will not happen at all times since Google Pay still works without an Internet connection by saving 10 or 20 tokens on device.

  • @ReflectionOcean
    @ReflectionOcean Год назад +1

    Tokens:
    PAN = Primary Account Number
    DAN = Device Account Number
    PAN (from device) => BANK => DAN (to device)

  • @beavissooqa7585
    @beavissooqa7585 6 месяцев назад

    what was if bad guy steal token? he can do payment?

  • @Maximoootom
    @Maximoootom Год назад

    Does Google get paid by the bank for each transaction?

  • @loxz27
    @loxz27 Год назад +1

    Google wallet definitely started years before Apple pay. I believe in 2011

  • @robertholtz
    @robertholtz Год назад +1

    2:24 - Secure Element? I was under the impression it was called the Secure Enclave. Please clarify. In either case, great video. I always enjoy your work.

    • @Kamroks455
      @Kamroks455 Год назад

      Ithink the secure enclave is a part of the M-series chips found in Mac and some iPad models. They may not be related necessarily, but probably some of the secure element development techniques can be found in the M-series

    • @robertholtz
      @robertholtz Год назад

      @@Kamroks455 No no. The Secure Enclave Processor (SEP) predates the M-series chips by at least 6 years. The SEP has been the cornerstone of the Apple Pay system architecture since day one.

    • @robertholtz
      @robertholtz Год назад

      @@Kamroks455 By the way, not only is the SEP its own distinct chip that long predates the M-series chips but it runs its own proprietary OS literally called sepOS. And I’ve since independently confirmed that it is definitely Secure Enclave and NOT Secure Element. Apple Patent US8832465B2.

    • @vasquezgamer2989
      @vasquezgamer2989 Год назад +1

      @@robertholtz I think you have a slight misunderstanding throwing you off. Most Apple mobile device has a secure element. Apple has called it the Secure Enclave. Pixel 6 devices have a secure element. Google calls it the Tensor Security Core. It’s the vague terminology. A secure element is a chip that is by design protected against unauthorized access and is limited to storing and utilizing sensitive data, like biometrics. He’s talking about the Secure Enclave but it’s a secure element, so he’s not wrong. You’re right too though, it is the Secure Enclave.

  • @dyhcdjvddhh421
    @dyhcdjvddhh421 Год назад +2

    Wow, all this about a thing that could be said even in one sentence.

  • @kennethcarvalho3684
    @kennethcarvalho3684 Год назад

    Sure is complicated😮😮

  • @clementhardy
    @clementhardy Год назад

    "and which one is better"
    didn't find the answer

  • @yasirelec
    @yasirelec Год назад

    I still think the process on both is similar .

    • @georgebarlowr
      @georgebarlowr Год назад

      The guy literally said it is similar just it differs with how they store your token.

  • @kendeldesir6548
    @kendeldesir6548 Год назад +1

    How about samsung pay

  • @JoshuaBarrio
    @JoshuaBarrio Год назад

    Google Wallet was released before 2014 they were doing mobile payments before Apple. Also Don't forget Samsung Pay.

  • @pajeetsingh
    @pajeetsingh Год назад

    If they are not storing then why do they need to their server in middle? Definitely storing and giving input to their ML. Big Tech is our God now.

  • @europria
    @europria Год назад +7

    Are you sure phone hands off “The Token” ? That would make it vulnerable to pretend POS units that harvest tokens. It probably generates a time bound token and signs it with a private key that it stores.

    • @ByteByteGo
      @ByteByteGo  Год назад +2

      Yes, the phone hands the token off to the POS terminal over NFC.
      There are two contactless standards currently used.
      EMV contactless is newer and more advanced. It uses something called "cryptogram" to safeguard the information.
      MSD contactless mimics a magnetic card. It is slightly better than straight magnetic card because the CVV is dynamically generated.
      Look up EMV and MSD contactless if you would like to learn more.

    • @europria
      @europria Год назад +3

      @@ByteByteGo thanks , the question is here is not safety of transmission of token, but trust to vendor that they would not store the token, any reasonable security system would not transmit it such security element to a third party, the general practice is generate something temporary and add a trust mechanism in this case would be by signing it with the private key provided by payment provider. Basically oauth 2 or Jsonweb token concept.

    • @ByteByteGo
      @ByteByteGo  Год назад +1

      As we mentioned in the previous reply, we encouraged you to look up EMV contactless specification if you want to learn more about how it secures the payment token and its associated information. The idea is very similar to what you are talking about.

    • @mattb1293
      @mattb1293 Год назад

      @@ByteByteGo The detail about EMV cryptograms is totally glossed over in the video but I feel it's important to why EMV is more secure than legacy magstripe payments.
      During device provisioning, the device receives in addition to the DAN some cryptographic keys that are used to encrypt the data sent over NFC to the terminal. During a transaction, the cryptogram sent from the device to the terminal includes the DAN and a unique transaction identifier provided by the terminal. In addition to protecting the confidentiality of the DAN, this prevents replay attacks if a malicious actor intercepted the NFC transmission, since the cryptogram will not be able to be used for a different transaction in the future. This is a key benefit of EMV over legacy magnetic stripe card payments which were highly susceptible to "skimmers": since the data on the magstripe was static, a copy of it could be used for future fraudulent transactions without the original card being present.
      The video implies that only the DAN is sent from the device to the POS terminal. If this were the case, the same sort of replay attack that's possible with magstripe cards would also be possible with EMV chip cards and digital wallets.

  • @alyx6427
    @alyx6427 Год назад

    ngl i much prefer apple pay cuz it requires the user to authorise it rather than just popping up whenever you tap it against a terminal

  • @oddmanout8260
    @oddmanout8260 Год назад

    если бы они еще работали...

  • @WilliamLHart
    @WilliamLHart Год назад

    I believe Apple and Google monetize the transaction differently. (i.e. how they are paid for each transaction). Please speak to this as data security is clearly most people's principal concern.

    • @TheCommunicationCoach
      @TheCommunicationCoach Год назад

      GOOGLE does more than just "spy" on us. Every time I make a payment online, Google invades my privacy and steals the card information and sets it up on Google Pay when it has NOTHING TO DO with GOOGLE!! This has happened six times in the past month, and I've reported them!

  • @Rahul-lg1nw
    @Rahul-lg1nw Год назад

    Can you please make a video on "digilocker and UPI 2.0" these are both indian goverment systems.

  • @michaelus815
    @michaelus815 Год назад

    Can you please explain how does cards work, when there's a national card system, like in Russia, there is an NSPK (or more correct NPSC, National Payment Card System), which looked like a proxy to Visa and Mastercard. In March, Visa and Mastercard stopped working in Russia, but cards of these systems issued by russian banks still work here, while they don't in other countries, and foreign cards don't work here.

  • @vehw
    @vehw Год назад

    So which one is safer in a practice? Can anybody smarter than me explain?

  • @A--_--M
    @A--_--M Год назад

    Man didn't even mention UPI