A lot of them have wiggled around this problem by offering “atms” at the cash register. You pay with a debit card, but it’s not a normal transaction, it’s an ATM withdrawal! I don’t understand how the money is vended to the business, but it keeps it out of the store
Business 2 owns the building and the atm, renting it to business 1, the dispensary. B1 pays the cash as rent to b2 who puts it into the ATM again. A SWAG but it's common enough in other business setups to alter costs as I understand it.