Glad to and welcome to the Arduino forum. Begin by writing a program to exercise EACH individual component all by itself so you understand how it responds and works.
Only then will you have enough skill to begin to put together a final program for your vending machine.
You failed to list the power supplies you will be needing for your project, so get them together first so you can make each component operate.