How to reset test purchases on iOS
Hi, I am trying to reset test purchases on iOS sandbox tester account so I can retest my purchase flow.
I've reset it in iOS settings > app store > manage sandbox tester > reset purchases. I've deleted the sandbox user on revenuecat dashboard. I'm not sure if this is a bug, but after deleting, the customer still shows on dashboard, but when I click them it says:
So I'm not sure the customer is actually deleted.
When I try to purchase, I get PostReceiptDataOperation: Posting JWS token (source: 'purchase')
and a purchase reciept, it behaves like it's already purchased.
The iOS iap popup never shows up.
How can I get the iap native popup to show again?
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Hi @HEAVYPOLY, Customer lists refresh every 2 hours, so after deleting a customer you might see them in the list for up to 2 hours. I'm assuming it's gone from the list now unless you recreated it during testing. About actually testing purchases in sandbox, try creating a completely new Apple sandbox tester account. There might be a stale cache on the device that is still using the old Apple purchases even after clearing the purchase history on Apple's end. Sandbox is full of little quirks so best to try testing with a completely new account.