loadProductsCallback() error... (iOS)

I encountered a strange error with my released app:

Testing in-app purchase with the app from the store I get an error in the function loadProductCallback()

When looking up the length of #event.products I get 0 (zero) back. I checked everything and the app should have one product to purchase, so the length of #event.products should be 1 (one), right?

Can anybody help me solving this? First I thought maybe the name of the product is wrong or something… but everything seems fine. Can there be a time delay at Apple maybe? The app went online about 14 hours ago… but I guess when it can be downloaded at iTunes the in-app products are already working, right?

Any ideas, what can be the problem here?

Oh… and another question regarding the iAds I included in this app: The live version isn’t showing any ads and I get the error: Banner NOT recieved! … Reason is:The operation couldn’t be completed. Ad inventory unavailable.

Is this maybe normal and I just have to wait until it works? (An other thread starter had this problem once… but maybe it is more known yet?)

Thank you for your help!

Daniela

 

Okay… I’ve “solved” it:

The error I got really was because I got back “0” (zero) from apple. This wasn’t catched by the standard in-app purchase code and so I finally got a Runtime error on the device. I contacted the apple support technicians about this and they told me it can happen, that when the product is not available or some servers don’t have the info yet. This was the case here… I just waited some more hours and everything worked as planned.

Regarding the iAds in the app… this also need a little more time with the live version it seems because they are starting to appear right now and in more countries right now.

So if you encounter similar problems, just wait a little bit longer… patience! :slight_smile:

Daniela

Thanks for the info!

I also get 0 products back while all 6 products seems to be approved in iTunes connect. It was approved yesterday, so maybe I just need to wait.

Okay… I’ve “solved” it:

The error I got really was because I got back “0” (zero) from apple. This wasn’t catched by the standard in-app purchase code and so I finally got a Runtime error on the device. I contacted the apple support technicians about this and they told me it can happen, that when the product is not available or some servers don’t have the info yet. This was the case here… I just waited some more hours and everything worked as planned.

Regarding the iAds in the app… this also need a little more time with the live version it seems because they are starting to appear right now and in more countries right now.

So if you encounter similar problems, just wait a little bit longer… patience! :slight_smile:

Daniela

Thanks for the info!

I also get 0 products back while all 6 products seems to be approved in iTunes connect. It was approved yesterday, so maybe I just need to wait.