IAP not working when building game to IOS iPhone

Hello everyone, as the title says I am having an issue with my IAPs when building from unity to IOS. While in the unity editor when I press play everything seems to work fine, when I build the game to my iPhone the IAP button does not work, almost as if it had no code to it (but it does ). First of all, the price texts, description texts etc. do not update as they do in the editor; secondly, when I press the button, other than becoming dark as a button does when pressed on, nothing happens.

Things to take into consideration:

  1. App is not published
  2. I firmly believe that all bundle IDs are the same as those I used in AppStore connect
  3. As said in “2)” I have registered my purchases in AppStore connect but they say “Ready to submit” without actually letting me submit it.
  4. This one is more of a question than anything: “When I build to IOS am I supposed to be able to use the IAP (as in when I build to my phone to test the game out)
  5. I tried to use in TestFlight and it doesn’t work
  6. As I said, in the unity editor when I press Play it works perfectly (Fake store comes up and if I buy it gives me coins) but then I’m the build it’s like the button had no code.

Thank you to everyone who helps me out, Matteo

When using a 3rd party game engine and testing In-App Purchases, we strongly encourage developers to test using TestFlight. That will give you the best idea if you've integrated them correctly.

It sounds like you may need to make a change in the 3rd party interface that you are using to build your app. For that, I recommend reaching out to them directly for support.

I have exactly the same problem as you. Did you find any solution to it?

IAP not working when building game to IOS iPhone
 
 
Q