Papa John's Pizza CEO John Schnatter arrives at the 47th Annual Academy Of Country Music Awards on April 1, 2012 in Las Vegas, Nev.

Angela Weiss/Getty Images

Papa John's Chairman and CEO John Schnatter apologized to a customer in Sanford, Fla., for a racist rant a Papa John's delivery man inadvertently left on the customer's voicemail.

After he delivered a pizza to the Sanford customer and his wife Sunday evening, the delivery man "butt dialed" the customer and left a voicemail message laden with racial slurs as he complained about his tip.

The customer posted a video on YouTube in which he showed the pizza delivery receipt, explaining he and his wife tipped 21 percent, "as usual."

In the voicemail message, which lasts about four minutes, the Papa John's employee complains to another Papa John's employee about the $5 tip and uses the N-word and other racial expletives, which he also incorporated into a song about the customer.

"Friends, I am extremely concerned to learn about the reprehensible language used by two former employees in one of our restaurants," the Facebook post stated. "Their thinking and actions defy both my personal and the company's values, and everything for which this company stands."

Schnatter said the employees "responsible for this absolutely unacceptable behavior were immediately terminated."

"My heartfelt apology goes out to the customer involved, his family and our community at large. I am very sorry that anyone would be exposed to these hurtful and painful words by any person involved in any way with our company," Schnatter said.

A call to Papa John's by ABC News for further comment was not immediately returned.

Many Facebook users who commented in response to Schnatter's post applauded his public apology.

One Facebook user said Schnatter is "a CEO that actually takes responsibility for the actions of his employees. You can't control employees, but you can take appropriate action."

In January 2012, a customer was described on a paper receipt as "Lady Chink Eyes" by a Papa John's employee in New York City.