Skip to main content

There really needs to be a way to delete customers AND clear the cache, especially in sandbox.

  • October 27, 2025
  • 3 replies
  • 43 views

Forum|alt.badge.img

This is driving me crazy because there is a corrupted user in my sandbox environment and I can’t continue working without deleting it. But deleting it doesn’t work because it’s cached for a few hours.

 

We REALLY need a way to be able to completely delete a user in sandbox environment along with clearing the cache.

This post has been closed for comments

3 replies

chris_perriam
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • October 29, 2025

There shouldn't be a cache on the user itself, but there may be some data in the dashboard (e.g. Customer Lists and Charts) which continues to persist for a few hours until those data sources are periodically updated.

Could you please share some details on your workflow? Specifically - what data is being cached and how is it impacting your testing workflow?


  • New Member
  • November 4, 2025

I’ve been running into this same pain when testing out the webhook setup and verifying the paywall and checkout flow works e2e (giving entitlement access to specific features for the user etc). Like im testing it out on my physical iPhone and ill run into errors along the way. The sandbox subscription goes through but my backend webhook setup is not correct. Then if you try to test this out again you run into the issue where “The user is already subscribed” or something like that and you have to delete that customer and try again. But even after you delete the customer you still run into the caching issue where it still thinks your subscribed already. It seems to work fine a few minutes after deleting the customer but it is kinda annoying to deal with.

 


chris_perriam
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • November 10, 2025

It’s possible to delete a customer (and their associated transactions) in the RevenueCat Dashboard by using the “Delete Customer” button at the bottom of the Customer Profile page.

However, this will not delete transactions from the underling store (such as the App Store). For example, if you perform the following flow:

  1. RevenueCat SDK is initialized with User A
  2. User purchases subscription
  3. Delete User A in RevenueCat Dashboard
  4. RevenueCat SDK is initialized with User A (and User A is re-created in RevenueCat)

The purchased subscription will be automatically associated with the re-created User A if one of the following events occur:

  • syncPurchases or restorePurchases is called on the RevenueCat SDK
  • The user makes (or attempts) a new purchase

You can erase the purchases for a sandbox Apple ID by either:

Hope this helps! Let me know if there’s anything I can clarify further