First In-app purchase

Hi,


I'm trying to add my first in-app purchase to my iOS application


It's state in iTunesConnect is "Missing Metadat", but the only thing I didn't send is the screenshot for the review (I expect to see "Wiating for screenshot" instead of "missing metadata"). I also specified the localization name of its group


The thing is that in my application, my productIdentifier appears in the invalid products, and I don't know why because it seems for me that everything is fine.


I disconnected my AppStore account, My AppID and my signInProfiles have In-App Purchase checked in the capabilities, XCode does not show any error in the project's settings, I have a sandbox user on iTunesConnect.


I really don't understand what to do to make things working...


Note : A few months earlier, I managed to have an In-app product and I was able to test it on my application in the development state. We didn't submit it to the App Review and I had to delete it from iTunesConnect.

Replies

If your IAP is an autorenewable then read other recent posts about this problem on the forum. You cannot reuse a deleted productIdentifier.

Yes, I know that, and iTunes prevents you from creating a new product with an already used producIdentifier, anyway.


But the product I just created is the only one I have on iTunesConnect, it has every information needed. But in my application, when I asks StoreKit for the availability, my new product's productIdentifier is shown in the Invalid section

I found the source of my problem


I apologize because I totaly forgot to talk about it, but I work with 3 stagings of my application : Production, Integration (i.e BETA), Development

And to be able to have all 3 of them on my devices, I use extensions in my appIDs for each state :

- com.compagny.app for production

- com.compagny.app.integration for integration

- com.compagny.app.dev for develpment


And it seems that for IAPs YOU HAVE TO keep the exact same appID as it is on iTunesConnect... :/ That was just that...