The infrared signal is then transmitted to an infrared receiver on the phone, which then beams it across the mobile phone network to the doctor's computer.
Your mobile phone, acting as a store of your credit card data, sends it wirelessly to a nearby receiver, which could be another phone, a dedicated terminal, or a payments module embedded in, say, a vending machine.