JEFFERSON CITY • A measure laying out photo ID requirements at the ballot box won final passage in the Missouri Legislature on Wednesday.

The bill still needs either Gov. Jay Nixon’s signature or, if he vetoes the bill, a successful veto override in the Legislature. It would take effect only if voters approve to a change to the state constitution.

A separate resolution putting the proposed constitutional change on the ballot this year is awaiting approval in the Senate.

Both pieces of legislation advanced out of the House early in the legislative session, but they had been stalled in the Senate until this week.

Democrats launched filibusters every time the bill came up but agreed to stop stalling a vote in exchange for compromise language. With the Wednesday action, the House approved the Senate language.

Under the compromise, anyone who shows up to the polls without an ID can sign a form attesting they are who they say they are and recognizing that photo ID requirements are the law. The state would also pay for photo IDs and any birth certificate needed to obtain them.

Voters who don’t sign the form could cast a provisional ballot, which would count if they can prove their identity.