views:

50

answers:

2

Hello,

I'm testing my in app purchase code for an update to my app. The in app purchase works great when I do an install from xcode to my phone. The issue arises when I have the currently released version installed on my phone then I install the dev version over the top of the release version. When I install in this way my product ID comes back as invalid even though I've tested it many times and it works as long as I didn't have the release version installed previous to installing the dev version.

We did alter our Bundle ID in this update but everything has worked except when we install in the way I described above.

Has anybody encountered this behavior before?

Also the currently released version does not have in app purchases.

+1  A: 

This happens all the time.

If you install your development version over the App Store version - new In App Purchases IDs are returned as invalid.

This will work perfectly when you upload the new version to the App Store.

Tal Bereznitskey
Thanks for the tip! My app is currently in review, I'll let you know if the in app purchase works once it's available for download.
jmurphy
You were right, once released into that app store the in app purchase works fine. Kind of obnoxious for testing though. Thanks for your help!
jmurphy
A: 

check this link contain resons for invalid product indentifer

http://cocoabugs.blogspot.com/2010/08/in-app-purchase-product-id-is-invalid.html

this may help u

jeeva