The main aim of our project is to adopt smart technology in vending machine to make the method ease using internet of things. This paper characterizes the design, implementation and employment of cashless and secure payment system in vending machine by using internet of things (IoT) technology and to improve the traditional cash-based payment system that involved lot of problems and risks i.e., hacking, auditing, storing currency and material of coins and notes. Our proposed methodology consists of server end, where the information is stored in that system. Further, the more users can access the vending machine through the web page and the desired products can be purchased in easy manner. The DC motors powered in mechanical structure of vending machine to push the material out. The system is done through the wireless communication. Further, the data storage and accessibility can be done easily.