@Rob: I have done some logging of purchase errors, and it’s actually not that many variations. (You could add this information to the store documentation so people know what to expect.)
Below are errors from Play Store:
[Lua]
{“state”:“cancelled”,“type”:“none”,“string”:""}
{“state”:“failed”,“type”:“none”,“string”:""}
{“state”:“failed”,“type”:“invalidClient”,“string”:""}
[/Lua]
And App Store reports the following (the string parameter is localized):
[Lua]
{“state”:“cancelled”,“type”:“cancelled”,“string”:“Cannot connect to iTunes Store”}
{“state”:“failed”,“type”:“unknown”,“string”:“Cannot connect to iTunes Store”}
[/Lua]
Questions:
-
Under what circumstances does “invalidClient” occur?
-
Doesn’t Play Store generate any verbal error message, or is it a fault on Corona’s part that the error message doesn’t appear in the event object?