Invalid Product IDs

If you got following error messages in XCode console like

StoreKit has not been initialized
Invalid Product IDs

Just got thru 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 your project’s .plist Bundle ID 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 waited several hours since adding your product to iTunes Connect?
  • Are your bank details active on iTunes Connect? 
  • Have you tried deleting the app from your device and reinstalling? 
  • Is your device jailbroken? If so, you need to revert the jailbreak for IAP to work. 

Article source.