Marketplace purchases failing

The is how I fixed mine as well, my PC region was wrong so had to go into control panel and find then change it. I also had to ensure that all microsoft accounts had the same sign in.