Abstract: A method for confirming a licence for an application program downloadable into a terminal device, a software product implementing the method, and a terminal device. An application program without a confirmed licence is downloaded into a terminal device having a camera operationally connected thereto. In response to the activation of the application program, an application managing application program licences is also activated. On the terminal device display, at least one alternative for making a payment for the licence is presented to the user. When the user selects a payment card, an image file of the card is created. From the image file, payment card identifier data are determined and, in response to a successful determining of the identifier data, a licence is received from licence management functionality to confirm the right to use the application program in the terminal.