Reputation: 159
My app only offers consumable in-app purchase products.
I can successfully purchase a product once but when I try to purchase it again, a popup "This In-App purchase has already been bought. It will be restored for free." appears and the first transaction is restored: the payment queue delegate is notified that a new transaction (with the same identifier as the successful transaction) is updated to the purchased state. I never get a purchased transaction with a new identifier and hence consider that the purchase failed.
Also, each time the app is put in foreground again or at startup, the payment queue delegate is notified that a transaction has been updated (as if it had never been finished). Even though the app properly finishes the transaction each time.
Side notes:
Do you have any clue on what's going on? Could it be a side effect of using the Sandbox environment?
Thanks for your help,
Upvotes: 0
Views: 438
Reputation: 159
The issue has disappeared yesterday, what other developers have confirmed.
It definitely was a Sandbox issue and it would have been nice if Apple engineers had confirmed it too...
Upvotes: 0