That's a fairly a common practice for cash only businesses, normally a different company is supplying the ATM and its cash. For example I've seen cash only ice cream shops with the same setup.
So you do an ATM transaction, but the money goes to the dispensary somehow. I do not know how it works on the back end, but I've used it as a customer. It's lovely and can even be done over your phone.