- Home /
Unity IAP not reliable in sandbox when restoring subscription after app deleted and re-installed
While the restore function seems to work reliably with non-consumable products in sandbox / Testflight, it often doesn't return the purchased subscription product.
I'm using the Unity IAP sample code for the actual restore function. Purchasing subscription always works fine. Purchasing AND Restoring non-consumables also works fine. Restoring of the subscription: Sometimes it works, other times not. When it doesn't work, it permanently doesn't work (regardless of the number of attempts I make, restarting or re-installing the app). To make restore work again, I have to purchase the subscription again, delete and re-install and then usually it works (until I delete and re-install again).
I guess if it was a bug in my code, it would never work. The fact that it works fine on certain installs but not on others makes me think it may be a problem with Unity Purchasing or Apple.
I haven't released the app yet so I don't know if this is only a problem with sandbox environment or not.
Any updates on that ? I'm having issues with sandbox consistency as well :/