How do card payments work?

Whether you’re buying groceries or a laptop, paying by card only takes seconds. Here’s how the money gets from A to B.