Here's the sentence that I want to translate:
He apologized to her for breaking her heart.
The verbs that I'm using are:
sich bei jdm für etwas entschuldigen
jdm das Herz brechen
Here's what I've come up with:
Er hat sich bei ihr für das Herz Brechen entschuldigt.
As you can see, I wasn't able to use the jemandem part in jdm das Herz brechen. I also wanted to ask that which preposition would come first, bei or für.