I am testing a non-consumable IAP on an iPhone 6s running iOS 11 GM. Whenever I tap my \"Buy\" button, it asks me to sign in. I tap \"Sign in with existing apple ID\" and en
NOTE: It may not work first time, I entered account twice & it worked second time.
If it does not work after few day try new account.
The same thing happens for me, for three separate sandbox users which were created before iOS 11 release. (The problem seems prevalent on iOS 11, there are posts on reddit and apple forums reporting this issue)
It seems creating new fresh sandbox user is the way to go. Sandbox users created after iOS 11 release work, while those created before the release cause "Sign in/Create Apple id" alert loop.
I did this steps and it's works
Go to Settings ▸ iTunes & Appstore scroll to bottom.
You can add account here for sand box purchase.
For iOS 11 and older, sign out the existing account if any. For iOS 12 and newer do not sign out of your Apple account - but manage it at the bottom of the page mentioned above.
Docs: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_in-app_purchase_transactions
To keep the sandbox account operational, be sure to only use it when you see [Environment: Sandbox]
on the login prompt. For all sandbox accounts, you still have to go through the email-verification process (click link in email).
This is what just worked for me.
1) Go to setting on your device and sign out of your current account. Then sign in with your Sandbox account.
2) Power off your device and when it boots in open the app you are testing. It may ask for you to enter in you password (which would be the sandbox user's password)
This should fix the issue...
Let me know if you tried and the outcome.