How to Cancel a Subscription on Your iPhone In-App Purchases TestFlight | iOS App Development

Here is a quick workaround for canceling purchases after making a test purchase through TestFlight.

Simply open any app installed via TestFlight. For this example, we are using our Text to Speech Offline app. In our TTS app, we offer both Annual and Monthly subscriptions, and the subscription screen also appears when trying to use Pro voices.

Let’s test it using the Pro voices. If you are using TestFlight, you will notice that it says “For Testing Purposes Only” when attempting to make a purchase, so your card will not be charged. Once the purchase is successful, you will gain access to the premium version of the app.

Now, if you want to cancel this subscription for retesting purposes, there is currently no direct way to cancel it immediately. Apple usually takes some time to automatically reset or expire the test subscription, which can be a little frustrating.

So here is the workaround we use:

Go to Settings, scroll down to General, and open Date & Time. Turn off Set Automatically and change the current date to a future date, such as one week later.

After that, completely close the app from the background and reopen it. You will notice that the app once again asks for the subscription, allowing you to retest the purchase flow.

If you then close the app again and revert the date back to the current day, or simply enable automatic date and time again, the app will return to the premium version.

So far, this is the only workaround we have found for retesting TestFlight subscriptions more quickly. If you know of any better ways to reset or cancel TestFlight subscriptions, please share them with us.

Thank you very much!






SUBSCRIBE

SUBSCRIBE

Welcome to Hey, Let's Learn Something!

Please sign up here to receive the latest updates on our blogs, tutorials and download section :)

Thank you for subscribing :)