A quick note on getting In App purchase error during development on getting iTunes Store information. This is most likely because the corruption or duplicate of provision causing the error for the app to correctly identify the bundle id. So in this case, just remove all the provision and reinstall your app.
Apple didn’t provide any documentation on this, until I spent few hours found the solution.
Please take note, if you have earlier installed a distribution version of your app, you also likely to get the same error.