We had about eight CLOSED signs; two in front of the register, three on the ice-cream display, three more in front of the espresso machine. People still came and asked us if we were closed.
Depending on the region its likely fine to only accept card for goods being offered.
However it's not fine to only accept cards in a scenario of debt. (The idea you've consumed or changed something before paying)
So even with all this signage if the pump allows you to pump before payment. You'll need to accept cash as the business or be willing to provide them an invoice to be paid out later through the banks.
You might argue that the fuel is in the tank just take it back. However, this will not be the same fuel that is being sold. As it's now had an opportunity to be contaminated by whatever was in the vehicles tank. Taking that contaminated fuel and putting it back in the main holding tank would potentially be considered as fraud.
Edit: so many labels I thought I was looking at a gas station self serve haha not a grocery store.
It's not a matter of different options being accepted but what has transpired. A grocery store is perfectly capable of taking back your groceries if you're unable to pay for them. So I guess what I'm saying is moot.
In this case, Kroger is a grocery store and I'm pretty sure they don't run a gas station - I'm almost certain the machine in the picture is actually a self checkout.