Question

I know there are LOTS of these questions but I can't find one that helps.

I've implemented IAP many times but not in the last year. Things seem to have changed. I created my IAP items in iTunes Connect and their status is now 'Waiting for review'. I'm using a library called RMStore to make IAP easier.

When I make a call to purchase with the product ID I get an 'invalid product ID error'. Do my IAP items have to pass review BEFORE I can test them?

Edit:

I did some more testing. Even though I get invalid product ID when I try to make a purchase I am able to get the details of the products fine with the same product ID's.

This is the code I call when I get the error.

[[RMStore defaultStore] addPayment:productID success:^(SKPaymentTransaction *transaction) {
        } failure:^(SKPaymentTransaction *transaction, NSError *error) {
}
Was it helpful?

Solution

RMStore author here.

When I make a call to purchase with the product ID I get an 'invalid product ID error'. Do my IAP items have to pass review BEFORE I can test them?

No.

I did some more testing. Even though I get invalid product ID when I try to make a purchase I am able to get the details of the products fine with the same product ID's.

Before purchasing products you need to request their details. If you fail to do so, RMStore will log "unknown product id" in DEBUG.

It might help to post the exact error message.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top