Donald TrumpDonald John TrumpSarah Huckabee Sanders becomes Fox News contributor The US-Iranian scuffle over a ship is a sideshow to events in the Gulf South Korea: US, North Korea to resume nuclear talks 'soon' MORE on Thursday claimed Mexico's president "acknowledged" that a wall on the border will be built, although there's still some negotiating to get him to agree to pay for it.

ADVERTISEMENT

Trump held a surprise meeting with President Enrique Peña Nieto Wednesday, and the GOP nominee said the visit was a success.

“First of all it was a very successful day for myself and for the United States, and hopefully for Mexico, too,” Trump said in an interview with Fox News’s “The O’Reilly Factor.”

“The wall will get built, and in fact that was sort of acknowledged if you look at the statement,” he said. “And he disagrees on who’s going to pay for the wall but that’s a negotiation, and I will tell you the United States will not be paying for the wall. Mexico will be paying for the wall.”

During their joint press appearance Wednesday, Peña Nieto made no mention of a wall, although he said countries should work together to make the border safer and more efficient and strive to reduce the illegal trafficking of drugs, money, weapons and people.

He also said he recognizes the right of every country to protects its own borders. Trump took the issue a step further.

"Having a secure border is a sovereign right and mutually beneficial," Trump said. "We recognize and respect the right of either country to build a physical barrier or wall on any of its borders to stop the illegal movement of people, drugs and weapons."

Following their meeting, Peña Nieto essentially accused Trump of lying when he claimed in front of the press that the two did not discuss who would be paying for the wall. Peña Nieto said later that day he had made clear that Mexico would not be funding Trump's wall proposal, a frequent campaign trail promise.