How to repeat a macOS IAP test using a sandbox test user

My macOS app has In-App Purchases.

The IAPs are approved and I have several sandbox test users on my account.


Prior to Mojave, I could test an IAP purchase and to test again, I could simply delete the receipt from within the App bundle and repeat the test using any of my sandboxed test users.


On Mojave and Catalina, I can test the IAP and it works fine. My problem is that when I delete the receipt from the App bundle, on restarting the app to test again, the previous receipt is automatically restored and so now I do not get the opportunity to use a different test user to go through the process again.


Any idea how I stop macOS automatically restoring the receipt I deleted and prompting me for credentials which I can then use any of my test users to repeat testing / test different IAPs?