iOS In-App purchases on TestFlight come back as "Not Allowed"

Hello,

We are currently finishing up a mobile app that is going on iOS App Store and Google Play.
But, we are having an issue with the in-app purchasing. The project was compiled and submitted to TestFlight successfully. When pressing the button to make the in-app purchase we are given a status of, " Unknown", then when pressed again we receive, “Not Allowed”.
We have been researching and looking at forums for about 3 weeks now, and tried nearly everything we can muster. If anyone has a suggestion we would deeply appreciate it.

I’m not sure if this is the same issue, but I had the same error message and what I found that ended up fixing the problem was to modify the IOS.ini config file within the project. By default the bUsesStoreV2 is set to True; however, if you set this to False, and make sure everything is set up correctly in iTunes Connect, then it should work.

Alternatively, you can view the file for yourself or copy and paste it into your config folder.

We just tried what you have recommended and set it to false and still receive the same error.

We had just created a blank project with IAP buttons and new provisions and still get the same problem.

I was able to fix the issue of getting “Not allowed” in a TestFlight build by setting bUsesStoreV2 to false in IOSEngine.ini, and I also made sure to have the same settings in IOSEngine.ini, and the same modules included in my game’s Build.cs file, as what is in Epic’s Unreal Match 3 source code. You can download the Unreal Match 3 source code by searching for “Match 3” in the Learn tab in the Epic Launcher.

Unreal Match 3 is an iOS and Android game Epic made as a learning resource, and it includes examples of IAPs, Leaderboards, and Achievements.