Contactless payment terminals and mobile devices