4 Replies
      Latest reply on Jan 14, 2019 10:31 PM by AndreyGusev
      AndreyGusev Level 1 Level 1 (0 points)

        Hi

         

        Try to restore purchases under debug (in sandbox env) using:

         

        SKPaymentQueue.default().restoreCompletedTransactions()

         

        Getting a list of restored transactions.

         

        Then signing in with different AppleId and restore purchases again.

        Getting the very same list of transactions from the original AppleID.

         

        I've tryed to sign in into main accoun, into sandbox account, change iCloud account, restart device, reset settings on it - nothing changing.

         

        Why I face this beheviour? Is it normal? Will it occure in sandbox only or real users suffer the same?

        • Re: Restore Purchases After AppleID Change
          PBK Level 6 Level 6 (2,885 points)

          Try logging out of the app store, deleting the app from the device then reinstalling from Xcode and logging in only when asked to do so by the App Store.  In the sandbox the username is sticky.

          • Re: Restore Purchases After AppleID Change
            KMT Level 9 Level 9 (13,425 points)

                 >Is it normal?

             

            In that example, yes, basically, unless you log out from the first account before trying the second. Does that match your process, or does the issue persist regardless?

             

                 >change iCloud account

             

            If the issue persists, is the device itself logged into iCloud and by which user? Remember, there are limits to how many iCloud accounts a given device can be associated with, based on what the activity is.

              • Re: Restore Purchases After AppleID Change
                AndreyGusev Level 1 Level 1 (0 points)

                     >Is it normal?

                 

                     >In that example, yes, basically, unless you log out from the first account before trying the second. Does that match your process, or does the issue persist regardless?

                 

                I do relogin befor trying to restore purchases for the second account so that the issue. Or I missunderstood somthing?

                 

                > If the issue persists, is the device itself logged into iCloud and by which user?

                 

                I running on test device which now is not logged into anything but sandbox itunes account.

              • Re: Restore Purchases After AppleID Change
                AndreyGusev Level 1 Level 1 (0 points)

                Now suddenly problem has just dissappea: changing sanbox account I getting list of purchases valid for active AppleID.