Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Unity Codeless IAP IOS Calls the purchase complete method on startup

Discussion in 'Unity IAP' started by Tajayexe, Aug 10, 2019.

  1. Tajayexe

    Tajayexe

    Joined:
    Feb 14, 2016
    Posts:
    4
    So i'm kind of new to this whole IAP thing and I am using code less api. On IPhone I have implemented code less IAPand when my purchase goes through successful the first time when i restart my app it calls the on purchase success method again. Is this supposed to happen ?

    It is a non-consumable purchase and I have set to consume on purchase enabled.
    I currently do not have a restore button in the test.
     
  2. Plummers

    Plummers

    Joined:
    Oct 29, 2015
    Posts:
    29
    Can confirm this same issue, just had it occur yesterday. Seems to restore even after I have reinstalled the app and logged out of all accounts on my iPhone.
     
  3. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,160
    Seems like you both are seeing restore occur automatically on iOS which is not expected. We will test here to confirm.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,160
  5. Tajayexe

    Tajayexe

    Joined:
    Feb 14, 2016
    Posts:
    4
    @JeffDUnity3D I can get that to you later today. However, do you think not having a restore button might be the cause?
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,160
    I don't believe Apple would allow you to publish your app without a Restore button
     
unityunity