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

ProcessPurchase gets called on iOS repeatly after completing purchase

Discussion in 'Unity IAP' started by shpkng, Jul 12, 2021.

  1. shpkng

    shpkng

    Joined:
    Apr 15, 2019
    Posts:
    7
    Hi,
    I have set up a subscription product in my app, and I tracked my users' purchases with some log. When the purchase finishes, the app will trigger a "PURCHASE_FINISH" event in ProcessPurchase method and send a log. And the strange thing is that the log keeps appearing, a lot.
    So the question is, is there any possibility that ProcessPurchase is invoked everytime the game launches?
    upload_2021-7-12_12-9-14.png
     
  2. shpkng

    shpkng

    Joined:
    Apr 15, 2019
    Posts:
    7
    Unity 2019.4.12f1
    IAP 2.1.0
     
  3. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please upgrade to IAP 3.2.3. Also, it appears that Restore is happening automatically on iOS, we are working on that.