title: iOS Manage my Subscription with Sandbox Account
body: <h2>Background</h2>
  
  <p>I have an application that supports in-app purchase with Apple subscription (in particular auto-renewable plans). </p>
  
  <p>Using the WWDC 2016 slides material, in the <strong>Manage Subscription</strong> page, (inside iTunes &amp; App Store -> View my Apple ID), we have this:</p>
  
  <p><a href="https://i.stack.imgur.com/iwL5K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iwL5K.png" alt="enter image description here"></a></p>
  
  <p>in which the user is allowed to change the current subscription plan (and also to cancel it). So far, so good. </p>
  
  <h2>Case scenario</h2>
  
  <p>I would like to simulate the scenario of a user changing account (or cancelling the current subscription) from the Manage Subscriptions page.</p>
  
  <h2>My issue (and possible solutions)</h2>
  
  <p>Thus, I am now facing the issue of testing the reported scenario.</p>
  
  <p>It seems to conflict with Sandbox Account for testing purposes. In particular: if I try to login with the sandbox Apple ID into the iTunes Store &amp; App Store page, I of course receive the message: <em>iTunes Account creation not allowed</em> (as reported in <a href="https://stackoverflow.com/questions/38266084/itunes-account-creation-not-allowed-when-trying-to-test-in-app-purchases">this question</a>). </p>
  
  <p>The most straight-forward solution seems the one reported in <a href="https://stackoverflow.com/questions/10289011/ios-sandbox-test-user-account-subscription-management">this thread</a> (shortly: let the subscription plan auto-renew for 5 times with 5 minutes period, after which we should receive the 21006 error). Anyway, I am not sure that it could be applied to this case, since it seems only including the <em>cancel my subscription</em> case.</p>
  
  <p>Another thread comes directly from the apple forum (<a href="https://forums.developer.apple.com/thread/14702" rel="nofollow noreferrer">this thread</a>) but: (1) something is strange, i.e. the iTunes account creation not allowed error seems not to appear when logging into iTunes with sandbox accounts - while it happens to me systematically) and (2) even after logging in, the subscriptions are reported not to be shown.</p>
  
  <p>I expect that everything works using a real Apple ID, but this is something I don't really want to do.</p>
  
  <h2>Conclusion (?) and question</h2>
  
  <p>So, finally :), my question. Is there a way to test the reported case scenario (or an equivalent one) <em>without using a real apple ID</em>, thus without triggering a real transaction? I don't really want to believe that the current sandbox testing mechanism does not include it.</p>
  
  <p>Thanks in avance to all!</p>