{ "id": "102808", "key": "AC-2025", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-10-10T14:42:19.000+0000", "created": "2012-10-06T18:25:05.000+0000", "labels": [ "ios", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:40:58.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "I have an app that is (was) ready to be submitted for review/distribution, but held back for IOS 6 compatibility. Everything was tested and rock-solid up until installing all of the software to support IOS 6.\r\n\r\nUpon installing Xcode 4.5, SDK 2.1.3 and the latest store kit module (1.6), I am crashing when completing the purchase of a 'Consumable' product. When I click my Purchase button, I get the \"Confirm your In-App Purchase dialog box. Upon clicking BUY, I am getting the message \"You've already purchased this In-App Purchase but it hasn't been downloaded.\" When I click the OK button, it always goes down the path where the evt.state returned from Storekit.purchase = Storekit.FAILED.\r\n\r\nThe \"You've already purchased this In-App Purchase but it hasn't been downloaded.\" dialog box is new, but not sure if this has anything to do with the ultimate Storekit.FAILED.\r\n\r\nNaturally, I am testing on a device ...\r\n\r\n{code}\r\nfunction purchaseProduct(product, productID) {\r\n showLoading();\r\n Storekit.purchase(product, function (evt) {\r\n hideLoading();\r\n switch (evt.state) {\r\n case Storekit.FAILED:\r\n alert('ERROR: Buying failed!');\r\n break;\r\n case Storekit.PURCHASED:\r\n case Storekit.RESTORED:\r\n //alert('Thanks!');\r\n ProcessTransaction(userid, 1, productID);\r\n markProductAsPurchased(product.identifier);\r\n break;\r\n }\r\n });\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "Ti.Storekit 1.6 now getting Storekit.FAILED unconditionally under 2.1.3 ", "creator": { "name": "fpmr96a", "key": "fpmr96a", "displayName": "Samuel Faraclas", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "fpmr96a", "key": "fpmr96a", "displayName": "Samuel Faraclas", "active": true, "timeZone": "America/New_York" }, "environment": "TI SDK 2.1.3, IOS 6, xcode 4.5", "comment": { "comments": [ { "id": "222406", "author": { "name": "fpmr96a", "key": "fpmr96a", "displayName": "Samuel Faraclas", "active": true, "timeZone": "America/New_York" }, "body": "I seem to have fixed this problem after finding info on another Apple Dev forum. It appears as though deleting and re-creating the \"Test User\" sometimes fixes this problem, and in my case this took care of it.", "updateAuthor": { "name": "fpmr96a", "key": "fpmr96a", "displayName": "Samuel Faraclas", "active": true, "timeZone": "America/New_York" }, "created": "2012-10-07T01:33:40.000+0000", "updated": "2012-10-07T01:33:40.000+0000" }, { "id": "222407", "author": { "name": "fpmr96a", "key": "fpmr96a", "displayName": "Samuel Faraclas", "active": true, "timeZone": "America/New_York" }, "body": "I'm not sure why this problem began right after my software upgrades, but that was when the problem started.", "updateAuthor": { "name": "fpmr96a", "key": "fpmr96a", "displayName": "Samuel Faraclas", "active": true, "timeZone": "America/New_York" }, "created": "2012-10-07T01:34:49.000+0000", "updated": "2012-10-07T01:34:49.000+0000" }, { "id": "222906", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you for the update. Closing this bug, as it appears to have been solved by adjusting the user account on Apple's side.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-10T14:42:19.000+0000", "updated": "2012-10-10T14:42:19.000+0000" }, { "id": "280950", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Invalid issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:18:19.000+0000", "updated": "2013-11-24T22:18:19.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }