['I was glad when my friend paid me back money he owed me.', "I'm glad you got your money back.", 'Me too - I really needed it']
Then all is well!
I was glad that my friend paid me back money when i needed it.