12 ms·
What happens when you swipe a credit card
- ourmandave 10y agoThat title is a lot less fun if you're standing in front of a whiteboard and someone is judging your answer.
- neduma 10y agokinda like https://github.com/alex/what-happens-when https://github.com/alex/what-happens-when
- coin 10y ago> swipe your card Sadly swiping is being replaced by chipcard.
- Markoff 10y agois it really that difficult to touch terminal with your card and put it away? much faster than cash or entering PIN
- jwilk 10y agoWhy sadly?
- douche 10y agoBecause it takes five times as long[1] to process in the reader, and adoption for register terminals is spotty. EDIT: add reference [1] https://www.quora.com/Why-are-chip-payments-so-slow-in-the-US?share=1 https://www.quora.com/Why-are-chip-payments-so-slow-in-the-U...
- coin 10y agoBecause swiping is so much more convenient. With a magnetic transaction I can just swipe and put my card away. Most of the time I swipe at the beginning of a long checkout (grocery store). With a chip transaction, I need to leave the card in until the very end. I now need to leave my wallet out, or put the wallet away and then remember to take the card back. More card readers are optimized for swiping with card insertion as an afterthought. Inserting a chipcard is usually at some awkward angle. As a consumer, chipcard provides no benefit. Yes fraud is theoretically lower, yet the banks aren't passing any of these savings to me (I'm still waiting for lower rates or higher paybacks).
- leeoniya 10y agoyes, the chips protect banks from fraud. your contract with the credit card already protects you from fraud as long as you report it in a timely fashion.
- chrisseaton 10y agoWhy do you want to put your card in at the start? Why not put it in at the end when it's time to pay?
- coin 10y agoIt's faster that way.
- ghaff 10y agoHe says why. With swiping, you can often do the swipe while the clerk is ringing up your groceries and put your wallet away as opposed to having to do the transaction at the end (as you also need to do if you use your phone). He's not wrong although this is pretty far down my list of life's annoyances :-)
- chrisseaton 10y agoChip cards replaced swiping over a decade ago, and a couple of years ago contactless replaced chip cards for most purposes. Does anyone literally swipe a credit card any more? I can't remember seeing it done in years except in some parts of Europe.
- irishcoffee 10y agoYup.
- leeoniya 10y agowell, there's the rest of the world, and there's the US, where chip cards are recent and still lack chip+pin requirement for now. we still use imperial units, too! not to mention the worst (read: non-existent) maternity-leave laws on earth - worse than many less developed countries.
- stephenhuey 10y agoExactly! He said that with such authority, didn't he? :) Chase just issued me a chip card in the last couple of years, and every time I check out of a store equipped with a terminal that can do both, it's still pretty much a 50/50 chance they'll tell me the chip reader doesn't work yet and I need to swipe.
- ghaff 10y agoIn my experience most stores are pretty good at this point about having some sort of sign or label if their chip reader isn't working. But I'm sure it's not always the case and there was certainly a lot of confusion a year or so ago when they were first phased in.
- mikestew 10y agoWell, now they would do well to put a sign up if the chip reader is working. Because now I by default assume the terminal vendor is lazy and won't implement it until they have a financial incentive to do so.
- ithinkso 10y agoWow, that took me back. I don't remember seeing anyone swiping their card in recent years, even chipcards are becoming more and more uncommon - contact-less payment leads the way now.
- vinceguidry 10y agoWhere do you live?
- JshWright 10y agoOutside the United States.
- vinceguidry 10y agoThat was easy enough to infer, what wasn't was where in the world contact-less payment systems came to dominate. Even in Europe chip appears to be the norm. China? Japan?
- umeshunni 10y agoIn UK and AU, contactless payments dominate, particularly for low value transactions. I suspect that's the case in Japan too. China has a mishmash of system from in-app payments (a la WeChat) to QR-code based systems.
- ithinkso 10y agoPoland. In one of the top5 cities here but nevertheless, even if I'm visiting much smaller ones it's hard to find a place where you cannot pay in a contactless fashion. This PayPass, or whatever is called, technology really took off here in the last 5 years.
- GrinningFool 10y ago> Sadly swiping is being replaced by chipcard. I see this being downvoted, and I'm wondering if it's not simply just misinterpreted. Most places in the US I've used chip&pin, the process goes like this: - arrive at merchant, select goods, get total. - look for a sign that says chip is not enabled. - failing that, move assuredly towards the chip reader and keep an eye on the cashier to ensure he or she doesn't move to stop you. - put card in reader (if enabled you can do this at any time - but doing it earlier won't save you time) - wait 2-10s while the reader figures out what to do - approve whatever you need to when it pops up. - wait 30-60 seconds for the transaction to go through, then find out you miskeyed your pin. - Repeat previous steps and associated waiting. Ignore eye-rolling of others in line. - walk out a satisfied customer. Obviously I drew it out as long as possible there for effect, but I've only ever seen very slow C&P implementations here. I am usually spending up to a minute waiting for the transaction to clear. By way of comparison, swipe cards take about 3-4 seconds to process. Debit cards with pins take 3-4 seconds + however long it takes you to type in the pin. So I full understand the "sadly" prepended to the statement.
- adanto6840 10y agoThere are a few local B&M merchants here that are using a specific model of chip readers, if recollection serves me correctly they're all readers from First Data, that are astonishingly fast -- at least compared to the all the others, which you've quite-accurately described. Every time I go to the local mom-and-pop butcher shop I commend them on their chip reader's super fast processing speed -- and each time they comment that "Thanks, everyone says that!". I find it incredibly funny and frustrating that their card reader is so fast, enough so that others have noticed & commented on it too, while everywhere else -- the local chain grocery stores for instance -- consistently have roughly >=1 minute processing times. Also frustrating? The cashier has finished ringing my items up. I put my card in, select "No cash back", type in my PIN number, it thinks for a bit ... and then, it asks me if I want to confirm the charges?! No, I don't, I just typed in my PIN for kicks! I get it, it's to verify the amount, but I'd love to know what percent of the time a user [intentionally] selects "No" at that screen -- I probably _accidentally_ select "No" about 5% of the time, and roughly 0% of the time have I ever intended to select "No". Small things, but annoying UX overall. I'd think that many larger chain retailers are working on this. Some may have it solved w/ more "proprietary" systems; I don't shop at Target much lately, but I recall their payment UX being superior to most, unsure if their chip system is too though. I'd love to get the speed of swiping back! :-)
- ikeboy 10y ago>If the merchant doesn’t settle within a certain time frame specified by the network, then the authorization expires and the reserved funds are released (as with every complex system, there are caveats here too). Where can I read specifics for each network? Also, the post doesn't do a good job of explaining what affirm is. All I know is it's some kind of alternative.
- leeoniya 10y agoit's almost always a 30 day window to run a capture from the date of initial auth. i've seen few "caveats". paypal has some tighter constrains on their fund availability guarantees. they make you run a re-auth after 48 or 72 hours - i forget the specifics, but it's in their api docs.
- glitch003 10y agoI know Stripe is 7 days
- Cyph0n 10y agoI'm kind of disappointed that you didn't go into the security features present in a typical credit card transaction. For example, you could describe the crypto protocols used to communicate with the gateway and/or card processor, what kind of data the stripe and chip contain and how it is used for authentication, etc. Another thing I find interesting is the anti-tamper features that are present in a standard credit card terminal. There's a great CC terminal teardown video by EEVblog that walks you through them: https://www.youtube.com/watch?v=tCgtTPwlDSo https://www.youtube.com/watch?v=tCgtTPwlDSo.
- hibikir 10y agoThe way I see it, this is describing the system exactly as much as it needs to make its case that 'banking system is bad and expensive, use our stuff'. Covering security, or the lower fees in Europe (thanks mostly to the security features), goes against the narrative. An interesting tidbit: An extra reason US fees are so high are premium credit cards choke full of rewards: Not every card has the same fees, and the highest fees come from cards that are handing you extra rewards, that are paid pretty much directly by the merchant. It's just that banks know that the better the rewards the more people will use the credit card, and the easier it is to take the business away from cheaper cards, as nobody charges you more at the register for using a Chase Sapphire Preferred instead of a debit card. Security features also make US cards extra expensive, as the best you have is Chip and signature, and that doesn't cover online. If we demanded 2FA in every transaction, including online, fraud would go very close to zero, and with it, fees. With more modest rewards and better security, interchange fees could shrink by over a percentage point: Banks just don't do this because there's little to no competitive pressure.
- cmurf 10y agoWell if we really believed in the free market and consumer protection, there'd be a law requiring the total transaction cost be printed on the sales slip. Whether the merchant pays it or passes it onto the consumer would be up to the merchant, but the amount would appear on the slip so the consumer sees these costs and who is paying for it. What we really have is mercantilism, where the issuer by contract disallows full information to be conveyed to the consumer without the consumer's consent, and this is in effect protected by law by the fact it isn't illegal. You could also call it an example of chrony capitalism.
- leeoniya 10y agoi've always found it to be profoundly messed up that address validation (AVS) and security code validation (CVV/CSC) happen after the funds are authorized and held by the issuing bank. this means if you choose to decline transactions for cvv or avs reasons in your gateway settings, those funds are still actually held by the customer's bank as pending for ~24h, preventing them from trying the auth again if it puts them over their credit limit. the only way to release them is for the merchant to call the customer's bank and provide the, cc number and auth code. we've had to leave these "security" settings off in our payment gateway and just assess the processor codes ourselves. then manually call the bank if there are mismatches. it's a massive pain in the ass and pretty much a neccessity if your avg order is hundreds of dollars. >:(
- jacob019 10y agoWe wrote our own system that preauths to get AVS, mandates a match to proceed or automatically voids the auth. You wouldn't believe his many people don't seem to know their own billing address. Customers get frustrated about the strict enforcement but we've only ever had one or two complaints about held funds. We just explain that those pending charges will fall off in 24 hrs, and they accept. Frankly, if the charge risks putting the customer over their limit, then it might not be such a good idea to deal with those customers. The cheapest customers are the most trouble and carry a higher incidence of returns fraud, fraudulent chargebacks, etc.
- leejo 10y ago> i've always found it to be profoundly messed up that address validation (AVS) and security code validation (CVV/CSC) happen after the funds are authorized and held by the issuing bank. That's because the alternative is the acquiring/issuing bank doesn't immediately reflect the authorisation in the shadow balance and only deducts it once either a confirmation has been received or a certain amount of time has elapsed, and of course that leads to a very chatty protocol and race conditions. Not to mention that the systems on the backend side at the acquiring/issuing bank would have to put the parts together. My experience with writing integrations with acquiring banks was that you needed to issue a reversal to have the held funds actually removed from the shadow balance. But it didn't always work, something about the reversals having to be the next request immediately after the corresponding auth. Obviously this was a system not built to scale and the whole AVS/CVV was a bolt on. AVS is most interesting because (at least using APACS 70, not so much ISO 8583 depending on the acquirer/issuer) it only works on the address numerics and not the other chars. So when you input your street number and postcode (at least outside the US) you can put whatever you want in the form as long as numbers match, anything else is thrown away.
- flylib 10y agoanyone got a collection of more posts like this?
- tzs 10y agoThis three part comment of mine from an HN discussion several years ago covers similar material: https://news.ycombinator.com/item?id=2445866 https://news.ycombinator.com/item?id=2445866
- Johnie 10y agoAre you asking about payments specifically or general "how things work" series? When Apple Pay launched, Clover had a detailed post on tokenization. http://clover-developers.blogspot.com/2014/09/apple-pay.html http://clover-developers.blogspot.com/2014/09/apple-pay.html
- flylib 10y agoeither payment or in general
- redindian75 10y agoa link in this thread https://github.com/alex/what-happens-when https://github.com/alex/what-happens-when
- kevindeasis 10y agoonline course by uofw https://www.coursera.org/learn/public-speaking https://www.coursera.org/learn/public-speaking
- digler999 10y agoWhat annoys me is the expiry date and CVV. It seems like their solution to "more secure" is just to add more numbers. How about put the last 3 digits on the back, and call it the cvv ? How about use alphanumeric card numbers so we dont have to use as many digits ? Get rid of the expiry date used as validation. It's just more entropy, if you need more entropy then add another digit. It's just annoying having to type that crap in all the time.
- azm1 10y agonever thought of this.Simpyfying the number system would be beneficial for the consumer but also for the companies who make money out of this CC system
- Y_Y 10y agoTo play devil's advocate, it may be useful to know when the card expires for a merchant who mightn't charge immediately. And maybe it's significant that the cvv is on the back so you couldn't just use a photo. And mixing letters and numbers is scary. But I agree. Maybe the solution is just having lots of entropy and reading it electronically, who really needs to read out card numbers over the phone?
- digler999 10y agoI agree, keep the exp date, just dont use it to validate the transaction so I dont have to fumble with the keyboard and mouse to select stupid dropdown boxes. Let the server handle the case where the card expires tomorrow. I agree the CVV should be on the back, so just take the 3 numbers off the front and put them on the back.
- leejo 10y ago> if you need more entropy then add another digit. That would break so much as most of the message formats and batch files use fixed width fields. It's probably the same for the databases underneath. Changing to alphanumerics sounds nice but the check digit algorithm would have to change from Luhn to Luhn mod n. More breaking changes. Banking systems are one of the ultimate forms of legacy, which is why most of the security additions have been bolted on. Just look at 3D secure - they added an entire subsection to the message format and it was still just another single factor auth method that nobody wanted and everybody hated.
- amelius 10y agoIt doesn't say if the data ends up with advertisers, but I wouldn't be surprised.
- icebraining 10y agoSure they do, it's not a secret: http://www.mastercardadvisors.com/information-services.html http://www.mastercardadvisors.com/information-services.html https://www.americanexpress.com/uk/content/merchant/business-insights.html https://www.americanexpress.com/uk/content/merchant/business... https://usa.visa.com/run-your-business/commercial-solutions/solutions/advertising-loyalty-card-programs.html https://usa.visa.com/run-your-business/commercial-solutions/...
- criddell 10y agoThe data doesn't really end up with advertisers though, does it? I can't call up AMEX and ask for a list of all the places my member of Congress uses his card, can I?
- icebraining 10y agoYou can't ask for individual data points; you ask for a segment of the population (eg. "musicians over 40 with children") and they'll return the data aggregated in bulk.
- criddell 10y agoI don't think they will actually return the data though. I think it's the same as Facebook. You can target ads to a certain segment, but they won't actually tell you who is in that segment or what the actual data is.
- nodesocket 10y agoDoes anybody know if using Stripe if we can pass the 2.9% fee onto our customers? We offer customized consulting plans that vary and typically in the thousands, so thinking of just adding a 3% credit card processing fee to the invoice for clients that use card. Researching around the net, it seems for traditional brick and mortar, some issuers don't allow you to charge a percentage based card processing fee. Any idea is this is allowed on Stripe?
- pmorici 10y agoI use Square and Paypal for my business invoicing because you can send invoices that can be paid via credit card via email. I add a 3% card fee explicitly to all my invoices. No one any of these companies has ever said anything. I also offer the option of Bitcoin and wire transfer payments for invoices w/o a fee.
- shpx 10y agoBitcoin fees are around 65 cents per transaction right now. https://bitcoinfees.21.co/ https://bitcoinfees.21.co/ http://www.btcsatoshi.com/ http://www.btcsatoshi.com/ https://en.bitcoin.it/wiki/Transaction_fees https://en.bitcoin.it/wiki/Transaction_fees
- mhluongo 10y agoThat the sender pays, not the merchant
- nodesocket 10y agoWe work with Stripe exclusively, and offer credit card or ACH invoices. ACH we don't charge any fees since the maximum fee from Stripe is $5. Credit card is another story since our invoices are in the multiple of thousands (2.9% adds up).
- icantdrive55 10y agoPayPal used to prohibit it, but things might have changed when they were split up from EBay?
- endgame 10y agoInterestingly, interchange fees in Australia for credit cards are going to get capped to 0.8% later this year. This is forcing banks to re-evaluate their reward card offerings. AIUI, American Express isn't affected because they have direct relationships with each individual merchant. The big 4 banks in Australia have historically offered an Amex card and a Visa/MasterCard linked to the same account (because Amex isn't accepted everywhere and often attracts surcharges). If ANZ's recent move is anything to go by, it looks like the banks won't be able to afford offering a linked Amex with their accounts.
- abalone 10y ago> Visa and Mastercard alone control 70% of the market based on purchase volume. And lack of competition reduces the incentive for firms to improve the efficiency of their technological systems or price their services fairly. Some detail about the pricing might help here. Most of the fee is actually going to customers, believe it or not, and sometimes processors. It is an interesting study in complex two-sided market dynamics. This is critical to understand when thinking about how to improve the system, and it's something many startups figure out the hard way. Most of the processing fee goes back to the issuing banks, not Visa/MC. On a typical transaction: 1. Visa takes "only" 0.11% + 2 cents. 2. Depending on the card maybe 1.5-2% + 10 cents goes to the bank that issued the card (e.g. Chase, Citi, Bank of America). These are fixed and published rates called interchange.[1] 3. The remainder of the fee is processor markup (e.g. Stripe, First Data). They are responsible for merchant fraud so their markup can vary a lot depending on merchant risk profile and bargaining power. E.g. Starbucks pays virtually nothing in processor markup, while Stripe's markup on thinly vetted ecommerce sites is huge. So while 0.11% of all card transactions is a lot of money for Visa/MC at scale, most of the "high" 2-3% card fee is actually going back to banks. Competition between Visa & MC keeps their cut to where it is. Even though they control "70% of the market", there is two-party competition there. So what's the deal.. what are fees so high? Don't banks compete with one another? Well, yes, they do, but it's not by picking lower interchange rates. There's one more piece to the picture: card benefits like reward programs that refund 1-2% to the customer, thinning the bank's take considerably. Banks compete on how much reward to pay out to the customer. Merchants dislike higher fees, obviously, but given the importance of card acceptance to completing a sale, they are more tolerant of fees than customers are tolerant of poor card benefits. The bottom line is banks need to compete for customers more than card networks need to compete for merchants. The only way merchants have been able to reduce card fees is through regulation. Visa/MC have built systems that effectively leverage the power of customer choice. If you want to build something different you need to look at the customer benefit side of things, not just offering merchants a lower-cost method. [1] https://usa.visa.com/dam/VCOM/download/merchants/visa-usa-interchange-reimbursement-fees-2016-april.pdf https://usa.visa.com/dam/VCOM/download/merchants/visa-usa-in...
- rconti 10y agoGreat read, thanks.
- dangerboysteve 10y agoI stopped reading after the first sentence "Ninety percent of Americans have used a credit card" which I find to be completely untrue and fabricated.
- jonknee 10y agoThey're obviously talking about adults and I don't think that number is too far off, what would you put it at?
- dangerboysteve 10y agoI realize, like most people, they were referring adults and a quick google search has the number pegged arround 72%. http://www.creditcards.com/credit-card-news/ownership-statistics-charts-1276.php http://www.creditcards.com/credit-card-news/ownership-statis...
- xaduha 10y agoSwipe? Swipe is old and boring, no single mention of smartcards in the article or in the comments.
- sAbakumoff 10y agoGateways like Stripe or Braintree are used for online payments only, aren't they? They are not involved when you swipe a card in a physical store's terminal.
- ChemicalWarfare 10y agoThe OP has things mixed up quite a bit. For starters, Point Of Sale flow should be described separately from the Card Not Present (as in online purchases) flow (protip there really is no such thing as transaction void in POS world). There are also things like auth reversals, partial captures etc.
- bigbugbag 10y ago> What happens when you swipe a credit card People look at you funny for not knowing how a credit card has worked for the last 30+ years. Here chips got introduced mid-80's and all cards had chips circa early-90's. Why did it take so long for credit card to feature chips in the US ? Because it took a while for CIA's in-q-tel to take over control of gemplus, the company who owned the smart card technology, which happened early 2000's. This is known as "l'affaire gemplus". Once they got control, the company HQ got moved to luxembourg tax haven and the R&D and tech moved to the US. A few years later in 2006 it merged with competitor axalto to form gemalto famous for making SIM cards and recently for their SIM crypto getting in NSA hands[1]. In 2009 french government tried to counter the takeover by becoming gemalto's major shareholder, but it was too late, CIA got what they were after as shown by in-q-tel selling its shares in 2010 which coincidentally was the years EMV credit card got introduced to the US. [1]: https://theintercept.com/2015/02/19/great-sim-heist/ https://theintercept.com/2015/02/19/great-sim-heist/
- korginator 10y agoSIM and EMV cards are both "cards" to the layperson but the 2G-SIM heist has nothing to do with EMV cards.
- pokemongoaway 10y agoAnd what did the CIA want? Any recommended reading on the CIA's control of financial systems?
- wheelerwj 10y agoI would check out [redacted] written in [redacted]. its a really [redacted] story which covers the [redacted] orders from when [redacted] was president and the [redacted] court which had oversight. really exceptional reading material.
- Signez 10y agoIf you understand French language, there is an episode[0] from France Inter's radio show "Rencontre avec X" that is dedicated to Gemplus and its takeover by the CIA. [0]: https://www.franceinter.fr/emissions/rendez-vous-avec-x/rendez-vous-avec-x-10-novembre-2012 https://www.franceinter.fr/emissions/rendez-vous-avec-x/rend...
- joopxiv 10y agoDepending on the category of the merchant, the network charges an interchange fee, the cost of which is split between the issuing bank (which takes most of the cut), the card association, and the acquiring bank. This isn't entirely correct. The interchange is the part of the transaction fee that goes to the issuer. The card network gets a scheme fee, and the acquirer/processor charge a fee on top of that. If a merchant pays the same rate, regardless of what type of card is used, (credit/debit, consumer/business) then the processor or acquiring is basically rounding up.