No, refineries don't pay taxes. People pay taxes. Where would you get a notion that a refinery pays taxes?
“The excise tax is collected at the refinery...”