Search Unity

[Closed] Unity Analytics not registering revenues using Unity IAP

Discussion in 'Unity IAP' started by Dani-10, Jan 4, 2017.

Thread Status:
Not open for further replies.
  1. Dani-10

    Dani-10

    Joined:
    Jan 4, 2017
    Posts:
    3
    Hi!

    I have some problems integrating Unity IAP with Unity Analytics... I think I've followed all the steps, because I receive the test purchase events from the editor and also introduced my Google API Key on the Unity dashboard (since I'm just testing on Android now) but the Revenue on the Unity dashboard remains at $0.

    The problem is that I'm sure I'm receiving the "unity.PurchaseFailed" event every time there's a purchase, with the reason "UserCancelled". However, all the purchases are being processed correctly on the Google dashboard.

    chart.png
    I should mention that I'm not calling Analytics.Transaction() since I'm processing the IAP with the Unity api IStoreController.InitiatePurchase() and IStoreListener.ProcessPurchase() and I've read that Analytics are triggered automatically using this IAP api. As I receive purchase events I think this is well configured...

    I don't know if is has something to do with the problem, but I'm not Validating Receipts neither locally nor remotely...

    Am I doing something wrong? Maybe I'm missing something?

    Thanks in advance!
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
Thread Status:
Not open for further replies.