Restore and Re-Buy Trouble

Hi,

When i restore my products or re-buy them, the

[lua]event.transaction.state == “restored”[/lua]

code seems to be called multiple times. Is this normal?

It might be related to that but then my app crashes. When i come back everything is fine and restored properly.
[import]uid: 14101 topic_id: 6195 reply_id: 306195[/import]

From my experience:

Restoring will trigger “restored” one time for every product that was restored.

Buying a non-consumable item again triggers “purchased” once for that item only. I wish this would trigger “restored” for that item instead, but it doesn’t for me. [import]uid: 9187 topic_id: 6195 reply_id: 21366[/import]

+1 on the restore issue Eric.

All of my testing shows that non-consumables come back as “purchased”.

This means I’m showing a user who does a restore a “Purchase Completed.” message … even though they weren’t charged anything. Apple did just tell them they wouldn’t be charged, but still. Hate the inconsistent message.

I don’t know if this is an issue on apple’s side or corona’s…

[import]uid: 13859 topic_id: 6195 reply_id: 21599[/import]

I managed to get by this by ignoring all other “purchase” and “restore” events when i already have the product activated.

This is working for a simple unlock but might be more of a trouble for multiple product buy at once.

[import]uid: 14101 topic_id: 6195 reply_id: 21622[/import]