It works over the internet.
How does it work when you need to pay for something in person? (what contactless is for)
How does it work when you need to pay for something in person? (what contactless is for)