Clearing purchase history of sandbox user doesn't revoke non consumable IAP in game.

Is this expected?
I made a non-consumable IAP purchase as a sandbox test user. all worked fine.
I cleared the purchase history for that user user from the somewhat flaky test accounts section in the “sandbox” tab of appstoreconnect (does this tab keep telling other people to try again later?)
Every time my app starts I check all product receipts and revoke any purchases that don’t have a receipt - or have an invalid receipt.
But the purchase remains on my app, even after I remove the app, reinstall it and restore transactions.

Any advice on getting IAP revocation to work on IOS? What am i doing wrong? Do I just have to wait a while for things to carry through?

@bcamus - If I clear a sandbox test user purchase history, should I expect the .hasReceipt property of purchased non-consumable products to switch from true to false?

Under Unity IAP 4.11.0, Unity 2022.3.30f1, IOS 14.6 I’m not seeing this behaviour - making me wonder how I handle revoked purchases in my app.

any updates ?

Nothing yet. I had to move on to other things, but I’ll get back to this one in the next couple of weeks.

1 Like