To diffuse a difficult situation:

-give the customer a warm sincere hello with a smile.

anticipate the customer’s complaint and head it off with a sincere comment.  take the offensive with kindness.

-take the blame for the customer’s situation and empathize with them for their problem on behalf of your organization.

-solve the problems promptly