Invalid Product IDs

If you have got the following error messages in XCode console like

StoreKit has not been initialized
Invalid Product IDs

Just got through this checklist and make sure you can answer “Yes” to each of these questions:

  • Have you enabled In-App Purchases for your Bundle ID?
  • Have you checked Cleared for Sale for your product?
  • Have you submitted (and optionally rejected) your application binary?
  • Does a .plist Bundle ID of your project match your Bundle ID?
  • Have you generated and installed a new provisioning profile for the new Bundle ID?
  • Have you configured your project to code sign using this new provisioning profile?
  • Are you building for iPhone OS 3.0 or above?
  • Have you been waiting for several hours since adding your product to iTunes Connect?
  • Are your bank details active on iTunes Connect? 
  • Have you tried to delete the app from your device and to reinstall? 
  • Is your device jailbroken? If so, you need to revert the jailbreak for IAP to work. 

Article source.