The invention discloses a
payment method and
system for a mobile terminal, and the method comprises the steps: selecting the number of articles in a vending
machine, and generating the amount of money through the vending
machine according to the number of articles; generating an identification code comprising the information of money, and a transaction random code through the vending
machine; enabling the mobile terminal to scan the identification code, so as to transmit
payment information to a money-receiving
server; returning a confirmation code to the mobile terminal after the money-receiving
server receives the
payment information; and enabling the mobile terminal to receive the confirmation code and display the conformation code. The vending machine scans the displayed confirmation code, and enables the transaction random code to be matched with the confirmation code. If the matching is successful, the article is sold. The beneficial effects of the invention are that the vending machine does not need to be connected with an
Ethernet, thereby saving the networking cost, reducing the possibility of being attacked by network hackers, and improving the safety and reliability; the method and
system achieves payment through a
wireless network of the mobile terminal, thereby effectively saving the payment cost of the vending machine and management and maintenance cost of the vending machine, facilitating the payment, and optimizing the user experience.