hi do we need to buy a license to publish game to window store and window phone store?
Develop games in your browser. Powerful, performant & highly capable.
Read the license comparison on the page linked below to see the differences between the licenses.
https://www.scirra.com/store/construct-2
You need a license for any game you make if you are going to make money from it. It doesn't matter what platform it is on or if that money is earned from sells, in-game ads or in-app purchases.