I know one garage that you have to go in and pay for the fuel first and they set it to deliver the amount you paid for but, this was because too many people were filling up and just driving out without paying.
One of our local 24-hr ones does this between 10pm and 7am, for the same reason. Tesco at Watford now deal with Pay at Pump only between 11pm and (I think) 6am. Although this is probably a budgetary system as they don't have to pay Forecourt Attendants.
Back in the '70s there were two 24-hr unattended Fuel Stations on the A22 near Godstone and Felbridge where you put your note, £1, £5 or £10, into the machine, and it delivered the relevant amount. I thought it was a brilliant idea, and expected it to spread, but, like all good things, suddenly stopped.