Friday, November 27, 2015

Updated IAP invalid Product ID Checklist as of November, 2015.

There is a checklist for getting a valid product ID for in-app-purchase on iOS here. It helped me a lot, but it seems to be out of date. I am therefore supplying the following, which heavily borrows from that checklist but matches what works for me as of today. I've included screen shots for the first four items below.

1) Are in-app-purchases enabled for your product ID?

2) Does ITunes Connect show Cleared for Sale for your IAP?

3) Does the bundle id in MyProject-info.plist match the app id?

4) Do you have development and distribution provisioning profiles created and installed for this app id?

5) Are you using ONLY THE FINAL PORTION of the in-app-purchase ID when making your SKProductRequest? You should be requesting myiapname, not com.myapp.myiapname.

6) Has it been several hours since you last updated anything relevant on Apple's websites? (provisioning profile, iTunes Connect)

7) Is your banking info active in iTunes Connect? Under ITunes Connect > Agreements, Tax, and Banking.

8) Have you tried deleting the app and reinstalling?

9) Have you tried restarting your device, or resetting your simulator? (Both this item and the previous one are basic iOS housekeeping. Try them for most anything that is not working.)

10) As of today, I can get back a valid product id in the simulator, so that's no longer relevant for at least getting the product id. No promises as to whether or not it's needed for the rest of the process.

Screen shots for items 1-4:

1) Are in-app-purchases enabled for your product ID?

2) Does ITunes Connect show Cleared for Sale for your IAP?

3) Does the bundle id in MyProject-info.plist match the app id?

4) Do you have development and distribution provisioning profiles created and installed for this app id?