`` My Happy Ending '' is a song by Canadian singer-songwriter Avril Lavigne , written by herself and Butch Walker for her second studio album , `` Under My Skin '' ( 2004 ) .
My Happy Ending is a song written and produced by Avril Lavigne and Butch Walker for Lavigne 's second album , Under My Skin ( 2004 ) .