Search Unity

Testflight IAPs problems

Discussion in 'Unity IAP' started by GoGoLoN, May 8, 2020.

  1. GoGoLoN

    GoGoLoN

    Joined:
    Jun 20, 2015
    Posts:
    13
    Hi, I'm facing a weird issue while testing my game on iOS using Testflight. My IAPs have not been submitted for Apple's review yet. Whenever I click a button to buy something in the game, it takes up to 10 seconds before the Apple's popup appear. Sometimes it doesn't work at all. Even if it does and the popup shows, after confirming the purchase usually nothing happens (I had to try 3 times to buy an IAP before it succeeded). Should I expect these issues to be gone once I publish the game in the store, or may something be wrong with my code? Everything works well in the editor.
     
  2. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    626
    IAP runs in a virtual environment in the Unity editor, so running it properly in the editor does not mean it will be consistent on the device. Could you provide the device log for further investigation? https://forum.unity.com/threads/how-to-capturing-device-logs-on-ios.529920/
     
  3. GoGoLoN

    GoGoLoN

    Joined:
    Jun 20, 2015
    Posts:
    13
    Issue solved. It turned out not to be related to IAPs. The problem was with with my "Purchase" button.
     
    SamOYUnity3D likes this.