For a customer with a problem it is comforting to know that the employee understands his situation. Make a real effort to put yourself in the customer’s shoes.
Use emotional and empathetic lines such as: “I understand how you feel”, “I am sorry you had this experience with us”.
Regardless of whether it’s the company’s fault or not, the problem is real. Face it and do not question the customer.