Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unity In App purchasing and iOS

Discussion in 'Unity IAP' started by matias88, Jun 8, 2022.

  1. matias88

    matias88

    Joined:
    Oct 1, 2017
    Posts:
    3
    So i've added unity in app purchasing to my proyect and set it correctly (at least for Android) The problem is when trying to submit this to iOS.
    This is what i did:
    - Went to App Store connect > Create a consumable purchase > put an id (For example iap.001) and set everything
    - Then in unity i set an id (For example: com.sarasa.game.001) and then i did a store ID overide with the id iap.001)
    - Create a new app version and set everything (including the app purchases)

    But my build is getting rejected because "when they tap the button it doesn't work". This problem happened in android when the id was not created (like i did with the ios one).
    How can i solve this problem? i think its happening because they are not validating the id
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Since you can reproduce, please provide the XCode logs. I would not recommend using store overrides, just use the same ID for all stores. One note, ensure you fill out the Business and Tax Information on your Apple dashboard. If you don't, the behavior you see is expected. Make sure all the meta warnings are cleared also. https://forum.unity.com/threads/how-to-capturing-device-logs-on-ios.529920/ Also, do not use Codeless IAP, it needs updating. It does not support receipt validation which is required by Apple. Instead, use Scripted IAP. https://forum.unity.com/threads/sample-iap-project.529555/#post-7922275
     
  3. Chocd79

    Chocd79

    Joined:
    Aug 25, 2021
    Posts:
    1
    You need to setup Tax Forms for Paid Apps in App store connect.