Hi,
May i ask about the loadProducts function, when i entered the productID (com.companyname.gamename.inapppurchase) and call the loadProducts function. it nothing to show. is it the setting problem or the code? Here is some of the code:
local listOfProducts =
{
“com.companyname.gamename.inapppurchase”,
}
function loadProductsCallback( event )
– Debug info for testing
print(“In loadProductsCallback()”)
print(“event, event.name”, event, event.name)
print(event.products)
print("#event.products", #event.products)
io.flush() – remove for production
– save for later use
validProducts = event.products
invalidProducts = event.invalidProducts
end
store.loadProducts( listOfProducts, loadProductsCallback )
Thanks a lot!!
[import]uid: 36507 topic_id: 11762 reply_id: 311762[/import]