It may be another happy ending for Patriots owner Robert Kraft.

Florida prosecutors are offering to drop their charges against Kraft and 24 other men who allegedly paid for sex acts at a South Florida massage parlor.

To take advantage of the deal, Kraft and the other johns must agree that they would have been found guilty at trial.

The defendants must also do 100 hours of community service, submit to an STD test, take a class on the dangers of prostitution and pay $5,000 per criminal charge they face.

It is a standard offer for first-time offenders, reps for the Palm Beach County State Attorney’s office said. None of the accused have taken the deal so far, according to office spokesman Mike Edmondson.

Prosecutors say Kraft traded cash for sexual favors at the Orchids of Asia Day Spa on Jan. 18 and Jan. 22 — shortly before his team won its sixth Super Bowl.

Former federal prosecutors, however, have raised issues with the case. The two women Kraft allegedly engaged with were both licensed masseuses and Florida residents — calling into question the extent to which they were the victims of human trafficking, as prosecutors have suggested.

Kraft faces 60 days in jail and a $500 fine if his case goes to trial and he’s found guilty.

He pleaded not guilty to two misdemeanor counts of soliciting prostitution in February.

Kraft’s reps and lawyer did not immediately return a request for comment Tuesday.

The Patriots declined to comment, according to franchise spokesman Stacey James.

With Post wires