it would probably make sense to have a payment channel ready before entering the coffee shop.
Worth pointing out you don't need to open a new direct payment channel. If there's enough critical mass in the network and as long as both parties have pre-existing channels (other retailers, friends whatever), then a route between can be found.