By David Eggert, Associated Press

LANSING (AP) – Michigan scrapyards that buy copper wire, air conditioners and catalytic converters will only be able to pay sellers by mail under a deal brokered Wednesday by legislators attempting to crack down on sales of stolen scrap metal.

READ MORE: Michigan Environment Department Issues Violation Notices To Tribar In Huron River Chemical Release

The state House’s 98-12 approval of legislation signaled the end of a months-long dispute over the measure intended to help law enforcement solve and prosecute cases. The Senate on Thursday is expected send the bill to Gov. Rick Snyder, who has listed it as a priority.

“I think it’s a compromise we can live with. Our cities have a good feeling about it,” said the bill’s sponsor, Republican Rep. Paul Muxlow of Brown City.

The agreement caps more than 2½ years of work to update a 2008 anti-scrap metal theft law that detractors said wasn’t working.

Scrapyards will have to take photos or video of metal they buy and the seller under the legislation. Sellers could only be paid by check or money order, or they could redeem their money at an onsite ATM.

Knowingly selling or buying street light poles, guardrails, traffic signs, cemetery plaques and railroad equipment generally will be off limits, too.

The sticking point had been a proposal to make people wait for payment for copper wire, air conditioners and catalytic converters.

The House in October approved a three-day waiting period. The Senate, though, voted to make delayed payment unnecessary if the scrap/recycling industry instead created a real-time database of each purchase of the pertinent items.

Under the compromise, scrapyards will only be able to buy copper wire, air conditioning components and catalytic converters by mailing a check, money order or ATM-like card to sellers unless payment is under $25. The database could still be established, but it won’t be required.

READ MORE: Community Responds After More Drownings Happen In South Haven

In Michigan, especially Detroit, thieves are targeting abandoned dwellings, construction sites, railroads and utilities to strip copper wiring, air conditioners and other metal.

The state had the ninth-highest number of insurance claims for metal theft in the U.S. in recent years, according to the National Insurance Crime Bureau. Metropolitan Detroit ranked fifth-worst among urban areas.

Despite existing requirements that dealers maintain records and sellers show a driver’s license, law enforcement officials have said successfully prosecuting cases is difficult.

Rep. Rashida Tlaib, a Detroit Democrat, voted for the bill while saying she has concerns because it allows payment on the spot — with the ATM cards — for the most-stolen items as long as it is for less than $25. She said thieves could stay below the threshold by visiting multiple scrapyards a day and later told reporters that groups representing police chiefs and sheriffs oppose the legislation as a result.

“I encourage my colleagues to support this bill today, but in a year — if it doesn’t work — to continue to revisit this and do it right,” Tlaib said.

The state police will have to report on the law’s effectiveness to the governor and legislative leaders by July 2016.

Detroit Mayor Mike Duggan said the House vote was “great news” for his city and other communities struggling with illegal scrappers.

“Not only does it create an important paper trail for law enforcement, it removes many of the incentives, such as immediate cash payment, that have made it all too easy for scrappers to profit from the dismantling of our city,” he said in a statement.

MORE NEWS: Dive Team Recovers Body Of Drowning Victim From Lake St. Clair

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.