How to cancel Auto-renewable subscription by using test user in sandbox environment?

white0702 picture white0702 · Apr 23, 2016 · Viewed 10.2k times · Source

I use Auto-Renewable Subscription in my application. When I test it I want to cancel Auto-Renewable Subscription in Sandbox environment, but I find out it couldn't cancel Auto-Renewable by use test user. How to cancel Auto-Renewable Subscription in Sandbox environment? And how to get the cancellation date in Sandbox environment? Thank you!

Answer

lorenzo picture lorenzo · Dec 13, 2016

You just have to wait. From Apple's documentation:

Additionally, test subscriptions only auto-renew a maximum of six times.

Your test subscription lasts way less than the real duration, from 3 minutes to one hour. All renewing durations can be found on the following page:

https://help.apple.com/app-store-connect/#/dev7e89e149d

The cancel date can be found in the receipt.