[Closed] Process Purchase Event get called on each App load - iOS

At present when I launch the app, each time ProcessPurchase event get called in iPhone device.
Though upto now I have not pressed any purchase related buttons.

Yes I have setup subscription purchase within my app and before I have purchased subscription in sandbox environment two to three times but now their time period is expired.

Here you have debug log for actual event happening:

As per my past experience, ProcessPurchase event require to call only two times when a user purchase something or at restore purchase time.
So why its get called each application launch that I can’t able to understand!!!
Please give some help in this so I can complete my Unity IAP related thing.

@siddharth3322

Would you be able to provide a bit more information about this issue?

  • Would you be able to provide a copy of your purchasing script (or any relevant scripts)?
  • What version of the editor are you using?
  • What version of the plugin are you using?

@ap-unity I knew that definitely, you will reply me :slight_smile:

Yes I am attaching actual copy of my PurchaseManager script so you can perfectly check about this.
See attached file.

I was using Unity version 5.2.4p4

Unity IAP version 1.11.1

Now I am hopping for some awesome reply for this.

3090945–233140–PurchaseManager.cs (9.95 KB)

@siddharth3322

Sorry for the delayed response.

Are you still having this issue? If there were a pending transaction that was stuck somewhere, then it should flush itself out eventually. Looking at your purchasing script, nothing really jumps out at me as incorrect.

Unity IAP requires at least version 5.3. We don’t support any versions of the Editor before that. If you are using a different version of the editor, then please let me know.