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
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?
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.
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.