Before my mission you'd have to go in and pay the clerk. The first time I pumped gas after my mission I didn't know what I was doing using the credit card to pay at the pump. I accidentally paid for the person that used the pump after me as well. Luckily the gas station owners knew my parents and knew that I was fresh off the mission and the fixed it.