In-app purchase is not working in the version of the app downloaded through the store. This works perfectly in the test-flight version.
You see that the price is (null) and then the purchase itself doesn't go through. When creating the app in itunesconnect there was no option to add in-app purchase to the app in the main developer page as detailed in page 22 of the manual here:
https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnectInAppPurchase_Guide/iTunesConnectInAppPurchase_Guide.pdf
It all works perfectly in the sandbox. I even tried developer rejecting the review, to see if that would help as per this:
http://stackoverflow.com/questions/10366184/in-app-purchases-cannot-be-added-to-this-version-because-it-has-already-been-sub
It did not help.
Is the document out of date? Am I doing something wrong? I have resubmitted a new app with new features as well as a different in-app purchase to see if we can get more debug info or if it will just start working.
There’s this also, which means we may just need to be patient. http://stackoverflow.com/questions/6355442/in-app-purchase-not-working-in-released-version
First, you often need to wait 24 to 48 hours after approval for the IAPs to come on line.
But you wrote..."When creating the app in itunesconnect there was no option to add in-app purchase to the app". This option should appear immediately after you add a'screenshot' to the IAP. Did you add a screenshot to each IAP? If you did not select IAPs for inclusion with your binary then you have not submitted them for approval. IAPs that have not been submitted for approval and approved will work in the sandbox environment in test flight and on the simulator but will not appear in the production environment.