Issue with Sandbox Account on iPhone (iOS) for In-App Purchase Testing

Hi everyone,

I'm currently working on testing in-app purchases for my app, and I'm having issues with logging into a sandbox account on my iPhone.

Here's the situation:

  1. I created a sandbox account via App Store Connect.
  2. I signed out of my regular Apple ID from the App Store and attempted to log in with my sandbox account during an in-app purchase.
  3. I receive a verification code on my phone, and it seems like the login is working. However, after entering the code, I keep getting redirected back to the "Sign in with Apple Account" screen. It doesn’t fully log me in.
  4. I’ve tried resetting network settings, restarting the device, and even creating a new sandbox account, but nothing seems to work.
  5. I'm running the app through Expo prebuild and attempting to test purchases, but without being able to log into the sandbox environment, I can’t move forward.

Has anyone encountered this issue before or know how to fix it? Any help would be greatly appreciated!

Thanks!

Issue with Sandbox Account on iPhone (iOS) for In-App Purchase Testing
 
 
Q