If you want to cancel a subscription in the sandbox environment you can do that from the App Store settings.

Did this answer your question?