IAP Sandbox Account + TestFlight

I created a Sandbox account in order to test in app purchase in my application.

In development mode I have no issue but during TestFlight it becomes tricky.

Since I can't log in TestFlight with a Sandbox account (https://stackoverflow.com/questions/38034491/unable-to-log-in-with-sandbox-test-users-on-device) I need to be logged with my personal account to log in TestFlight and download the application.

Then, I need to logout from my personal account, open my TestFlight app, try to subscribe to in app purchase, log in with my Sandbox account when Apple popup showing up.

Then, after testing is done, I need to log in TestFlight with my personal account in order to get the next TestFlight version of App.

I can't believe this is the "real" process and there is not a better solution to access TestFlight new app version while testing with Sandbox account.

Also, if you ask me "Why I'm not using my personal account to test in app purchase in TestFlight?", it's because I have done it during years now, and my account is ****** up when I'm testing. My account retrieve thousand of transactions, "unfinishable", resulting in failure in TestFlight when everything works in production. My coworkers experienced the same issue with these "unfinishable" transactions and we can't use our personal account to test in TestFlight.

It's rough that there are no responses - I have exactly the same issue. My personal apple id was used for testflight builds and has such a long purchase history it is useless for testing. It's so strange that testflight does not have the ability to piggyback on the sandbox setting for test builds.

Same here. Thank you for sharing this.

I think there may be a separate sandbox account for each new build. I signed out of my sandbox so that the subscription purchase works. It signs into possibly a new sandbox for the new build.

IAP Sandbox Account + TestFlight
 
 
Q