I am trying to set up an in-app purchase for a virtual currency for my app. The purchase works fine the first time, but then the second time, after hitting the "buy" button in Apple's popup, I get a message saying:
"You've already purchased this In-App Purchase but it hasn't been downloaded.
[Environment: Sandbox]"
I set this item up in iTunes connect as a consumable good, so shouldn't that error not come up? If it's a consumable, you can buy an item twice (or so I think).
What does anyone know about this? Is there anyone who's successfully been able to get a consumable in-app purchase working?
Thanks,
Peter
As far as I know, the finishTransaction call works fine. (My print statement the line afterward fires and there are no errors) Is there any other problem that would cause this?
Did you ever resolve this? I am experiencing the same thing.
No, I have not yet resolved this. (If anyone else can help, please do!)
It seemed to work sometimes, but others it didn't, so I just put another IAP with a higher amount of virtual currency in my app, and then let users choose. I have yet to have any users contact me about this problem, so I assume that it has not yet been noticed. (although I would love to get it fixed!)
Sorry,
Peter
Are you calling store.finishTransaction( transaction ) after the purchase? It sounds like Apple isn't being notified that the purchase and download have gone thru.