Don't get cancelled event of store.restore()

I’m compiling for the iPad using Corona 2011.555. My app uses in-app purchases and everything works fine, except I don’t get the “cancelled” transaction state returned to my defined callback function after starting store.restore() (and then hitting “Cancel” on my device). I do get this event fine for the normal purchasing routines, just not for restoring… it seems like when restoring is cancelled, the callback routine isn’t called at all, even though I did use store.init(…) during the beginning of the program.

Am I doing it wrong, or is this a bug? Thanks! [import]uid: 10284 topic_id: 12355 reply_id: 312355[/import]

I have the same issue. Any updates on this? [import]uid: 42145 topic_id: 12355 reply_id: 65731[/import]

Apparently, an Objective-C programmer was having this issue, and then solved it in this thread:

https://devforums.apple.com/thread/121522?tstart=0

Maybe this would help our Corona overlords? [import]uid: 42145 topic_id: 12355 reply_id: 65827[/import]

FYI:
Was still having trouble with the “cancelled” event not firing off the store.restore() function, so just removed it from my app for my first release to iTunes. A restore function is nice, but is not required by the Apple Guidelines. [import]uid: 42145 topic_id: 12355 reply_id: 67542[/import]

is this ever getting fixed? i have the same issue… [import]uid: 35190 topic_id: 12355 reply_id: 83634[/import]

@cigma - I’d recommend you file a bug report as well. [import]uid: 42145 topic_id: 12355 reply_id: 83640[/import]

I have this issue also.

Did anyone find a solution? [import]uid: 51494 topic_id: 12355 reply_id: 89527[/import]

Same here! No cancel event for me either. Build 773…

-Dario [import]uid: 21281 topic_id: 12355 reply_id: 99926[/import]

Who has filed a bug report with a zip we can run that demonstrates the issue? Bug #?

Can bring this up in next meeting if I can get that info :slight_smile: [import]uid: 52491 topic_id: 12355 reply_id: 100051[/import]

Thanks, Peach! Just submitted a bug report: #13526.

-Dario
[import]uid: 21281 topic_id: 12355 reply_id: 100114[/import]

Peach - is this issue resolved? I can’t seem to figure out a way to search the bug DB to see if the bug is resolved in one of the daily builds.
Also, my app just got rejected by Apple for not implementing restore, and I cannot implement a good restore experience without knowing if the user has cancelled out of the purchase flow. So, I can really use a fix to this bug.

Thanks!
Andrew [import]uid: 41124 topic_id: 12355 reply_id: 111581[/import]

Just found that daily build 2012.814 fixes this. I’ll download and give that a try. thx!
[import]uid: 41124 topic_id: 12355 reply_id: 111582[/import]