Recently, my app was rejected from the appstore because my IAP purchases did not activate. Upon investigating, I found that the On Store listing success condition does not work. I have a global variable that will be changed to 1 if the store listing is successful and if it fails then it is set to -1. Otherwise, it stays at 0. In my game, whenever you click the buy 10 coins button for 99 cents, it will also test if the global variable is 1 or -1. Then, depending on the outcome, it will buy the product or it will produce a error message sprite. However, when testing on my iPhone through testFlight, the global variable stays at 0 and doesn't change meaning the store listing didn't fail or succeed. I don't think it's an issue with my code. I've also seen other topics about this mostly by BinaryPanda but no actual answers were submitted. Has anyone ever gotten IAP to work on iOS? Also, all the product names/id are correct. I've triple checked of that so I don't what to do. Please help!