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!
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.