Products always listed as 'invalid'

Hey all,

So I’ve recently started setting up in-app purchases, and I can’t get my products to ever load into the list of valid products. All of my products always print out as invalid when I try to load them with the following function:
[lua]local productIdentifiers = {
“MyItem1”,
“MyItem2”,
“MyItem3”,
“MyItem4”,
“MyItem5”
}

function loadAllProducts()
function loadProductsCallback(event)
print(“showing products”, #event.products)
for i=1, #event.products do
local currentItem = event.products[i]
print(currentItem.title)
print(currentItem.description)
print(currentItem.price)
print(currentItem.productIdentifier)
end

print(“showing invalidProducts”, #event.invalidProducts)
for i=1, #event.invalidProducts do
print(event.invalidProducts[i])
end
end

store.loadProducts( productIdentifiers, loadProductsCallback )
end[/lua]

I’ve tried using just the product ID and the full identifier (com.myCompany.myApp.productName), but both of these just say that the products are invalid. The products are all showing up correctly in iTunes Connect, and its been about 36-48 hours since I set them up, so the initial 24 hours wait period should be cleared by now.

Any ideas what it could be? I’ve looked through dozens of forum posts with suggestions, but none of them have worked for me. Is there something simple I’m missing?

Thanks [import]uid: 138013 topic_id: 31939 reply_id: 331939[/import]

One question, have you set up all banking information for your account? I know that this could be an issue sometimes. It took me one hour approx. so set up iTunes Connect and my app. You should not have to wait for it - it should be up & running almost directly.

Joakim [import]uid: 81188 topic_id: 31939 reply_id: 127379[/import]

@Thrust Interactive, here’s a great list of reasons why IAP returns invalid product IDs. Maybe you’ll find the reason why you’re getting it.

http://troybrant.net/blog/2010/01/invalid-product-ids/

Good luck!

Naomi [import]uid: 67217 topic_id: 31939 reply_id: 127382[/import]

Jkrassman,

Ahh, that would be the issue then. The bank information is fully setup yet. Here’s hoping it’ll work after that.

Thanks! [import]uid: 138013 topic_id: 31939 reply_id: 127388[/import]

One question, have you set up all banking information for your account? I know that this could be an issue sometimes. It took me one hour approx. so set up iTunes Connect and my app. You should not have to wait for it - it should be up & running almost directly.

Joakim [import]uid: 81188 topic_id: 31939 reply_id: 127379[/import]

@Thrust Interactive, here’s a great list of reasons why IAP returns invalid product IDs. Maybe you’ll find the reason why you’re getting it.

http://troybrant.net/blog/2010/01/invalid-product-ids/

Good luck!

Naomi [import]uid: 67217 topic_id: 31939 reply_id: 127382[/import]

Jkrassman,

Ahh, that would be the issue then. The bank information is fully setup yet. Here’s hoping it’ll work after that.

Thanks! [import]uid: 138013 topic_id: 31939 reply_id: 127388[/import]