I did something similar with One of my stories. Essentially the vending machine has a frosted glass front so you can’t tell what you’re getting.
Of course Foal-in-a-can being so cheap, most people just dump the ones they don’t want and buy another one.