StoreKit - All product ID's are invalid. Why?

So I've gone in and out of forums looking at different issues.. I followed all of the steps that have been laid out in each example and took the most sensible bits from each post.

so here's the data i'm working with (obviously changed a bit, but still the same idea)

*created test in-app purchasing user*
*settings->store Account IS the test user created*
Bundle ID: com.example.app
Product ID: com.example.app.brv4w (Status: pending developer approval)
App ID: 3X4MPL3.com.example.app
Enable In App Purchase: CHECKED

SKProductsRequest *myProdsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:[NSSet setWithObject:@"com.example.app.brv4w"]];
myProdsRequest.delegate = self;
[myProdsRequest start];

-(void) productsRequest: (SKProductsRequest *) request didReceiveResponse:(SKProductsResponse *) response {

in here [response.products count] is 0 and [response.invalidProductIdentifiers count] is 1

I can not figure out how to make [response.invalidProductIdentifiers count] 0 and [response.products count] 1. If anyone has any ideas, please let me know..

Message was edited by: Jason Swaby

Core 2 Duo 2.5ghz, Mac OS X (10.5.8), iPhone 3G

Posted on Aug 19, 2009 9:47 AM

Reply
17 replies

Jan 21, 2010 3:46 AM in response to supaegal

Hi supaegal & welcome to discussions.

Does anyone else has an idea?


1.) Start your own thread, rather than tagging onto someone else's so that your question can receive the unique attention it deserves. In this way you have control over closing the thread if/when a solution is reached. You can also better track responses and award any help points you may feel like tossing out, etc.

2.) See this thread ( https://devforums.apple.com/thread/23344?tstart=0 ) in the beta iPhone forums on IAP 'how-to'....the discussions there include routine participation by Apple engineers that have specific knowledge in various iPhone topics.

Feb 1, 2010 5:22 AM in response to Mark Moxon

Mark Moxon wrote:
Here's something else to try.

I also have the same problem - all products being rejected as invalid - but I've found that it's caused by my application's binary being 'Developer rejected'. If I upload a new binary and leave it in review, my In App Purchases suddenly start working; reject the binary again, and the products start getting rejected again.

I spent 3 days going through my code with a fine-tooth comb before stumbling on this. I hope it helps someone.


Hi Mark, your advice worked for us but unfortunately an Apple representative called us to tell us we should not be doing this. They warn us that this isn't the proper way to test the in-app purchase. Apparently in-app is SUPPOSED to work even if you get REJECTED. So please go over the "iTunesConnect_DeveloperGuide.pdf" again.

Hope this help.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

StoreKit - All product ID's are invalid. Why?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.