Was ist ihr name?

Was ist Ihr Name? is a literal translation of the English what is your name?

It is not something a German speaker would say. The German translation of what is your name? is wie hei├čen Sie? (what are you called?)