Yes, damage is only dealt once.
But, . . .
Notice the emphasized language.
So, at the begining of a creature's turn, damage is dealt if the creature is either adjacent to the wall of fire (1d6+Int. mod.) or in the wall (3d6+Int. mod.). Then if a creature that started adjacent to the wall...