New machines dispense goods using promo codes from smartphone