Stations around the UK are being upgraded so that users can purchase smart, paperless tickets.