The correct answer is D. had refused.
The sentence is in the past perfect tense, which is used to talk about an event that happened before another event in the past. In this case, the first event is "she failed to turn up for our appointment for the third time," and the second event is "I refused to meet her again." The past perfect tense is formed with the past participle of the verb (in this case, "failed") and the auxiliary verb "had."
The other options are incorrect because they do not agree with the tense of the sentence. Option A, "is failing," is in the present tense. Option B, "am refusing," is also in the present tense. Option C, "has failed," is in the simple past tense. Option E, "had been failing," is in the past perfect progressive tense.
The past perfect progressive tense is used to talk about an event that was happening before another event in the past. In this case, it would not make sense to say that I was refusing to meet her again before she failed to turn up for our appointment.
Therefore, the correct answer is D. had refused.