Automated payment is already very much the norm. Just put in your credit card before refueling.

Vending machines solved the automated snack sales decades ago, except for the restocking.

I meant that a lot of people still pay cash for gas, but a move toward more electronic payments or at least an automated cash kiosk would let you get rid of those last use cases for a human attendant to take cash