Gardenia problems

Hello, I don’t know the name of my plant but the flowers are white and have banana like smell. It was in a shady area outside, I moved the pot to a sunny location(Toronto). All the flowers didn’t open and…