I'm not sure how closely Pa's law follows Michigan's but it allows for acceptance of non-photo ID and provisional ballots.
Yours sounds pretty similar to ours. They have to ask but you don’t have to show.
However if you don’t show an ID the ballot becomes a provisional ballot and may not be counted.
I don’t think the Texas law has yet been subjected to court review. In southern states, the US attorney general has the power to block certain voting laws and the stae must then take the matter to court.
I know the courts overturned one in Texas
Which court?