She refused to reveal when the adulterous affair started or how she met Wright.

But fellow churchgoers at Friendship-West “found out about the affair in the spring,” Payne said.

At the time, she was secretary to the Rev. Frederick Haynes III, a longtime Wright disciple.

In April, Payne organized a series of Texas public appearances by Wright, 67. Weeks before, Obama had disavowed his preacher of 20 years after Wright’s anti-government rants came to light.

“Liz was by Rev. Wright’s side day and night during those days,” a church source said.

“It’s all true,” said Payne, adding that she has filed a wrongful-dismissal claim with the Equal Employment Opportunity Commission to get her job back.

In an ironic twist, Wright last night spoke at an East Orange, NJ, church revival on the subject of “unexpected problems.”

“There’s no such thing as a problem-free relationship,” he told a packed Elmwood United Presbyterian Church. “In life, you’ll have unexpected problems.”

He punctuated his 45-minute sermon with evocative 1960s hits, including the Supremes’ “Where Did Our Love Go,” Frankie Beverley’s “Joy and Pain,” and the Temptations’ “Ain’t Too Proud to Beg.” He’s set to speak there again tonight.

Payne’s husband, Fred Payne, 64, said he learned of the affair in late February, when he discovered e-mails between his wife and Wright.

“There must have been about 80 of them, back and forth,” he said. “Wright said things like he was going to leave his wife for Elizabeth.”

Wright has been married to his second wife, Ramah, for more than 20 years.

The preacher reportedly wooed Ramah away from her first husband in the 1980s, when the couple came to marriage counseling at Wright’s Trinity United Church of Christ in Chicago.

After discovering he had been cuckolded, Fred Payne, who had married Elizabeth in October 2006, headed straight for divorce court.

“I was downright mad about this bull- – – -,” said Fred, who said he is “in the oil and gas business,” belongs to a hunting club and makes his own bullets in his garage.

“People wouldn’t be happy to know that my wife was sleeping with a black man.”

He added, “Rev. Haynes doesn’t like the interracial thing, either. This was quite an issue for him.”

Elizabeth Payne said she has been banished by Haynes and the flock at Friendship-West.

“I’m not a member of the congregation anymore; I’m not even allowed on the premises,” she said.

Wright became an embarrassment for Obama after videos of the preacher’s old sermons emerged.

In them, Wright blamed the United States for the 9/11 attacks and boomed, “God damn America!”