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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Solved] IAP purchase analytics Livestream

Discussion in 'Unity IAP' started by ButcherBolzi, Nov 29, 2017.

Thread Status:
Not open for further replies.
  1. ButcherBolzi

    ButcherBolzi

    Joined:
    May 31, 2014
    Posts:
    17
    I made a couple of testing purchases from the Google Play Store and everything worked as it should. Now when I start the game again, ProcessPurchase is called for every purchased product. This seems to increase the Pre-Verified Revenue value of an analytics live stream at each game startup as much as the products have been purchased. Is this correct behaviour?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    @ButcherBolzi Can you provide your purchase script? What type of product are you purchasing (consumable/non-consumable, managed/non-managed). Are these actual purchases, or test purchases?
     
  3. ButcherBolzi

    ButcherBolzi

    Joined:
    May 31, 2014
    Posts:
    17
    These purchases are non-consumables and I am used Google test user account for making purchases. These test purchases are correctly registered Google test user account. I didn't used any validation on purchase process.

    Edited:
    I did find a reason. I did have my own test flag is on my purchase system and this cause call ClearTransactionLog was called at every game launch.
     
    Last edited: Nov 30, 2017
Thread Status:
Not open for further replies.