Yes, you can usually pay inside. Also, just entering any 5 digit zip code will often work. Had no issues with random 5 digit zip codes and my UK and HK-issued cards at gas pumps in the USA.
Why can’t I fill my car anywhere, regardless of where I live?