Hey there!
The vending machine appears after you've unlocked the Church and had the dream where you first encounter the Deity. When you start the next day, you should get a message indicating it's appeared. Best of luck! :)