Fix refactoring mistake in refresh payment gateway