Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Closed] IAPs work correctly on test accounts, but not on real accounts (Android)

Discussion in 'Unity IAP' started by CptDustmite, Dec 1, 2017.

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

    CptDustmite

    Joined:
    Jun 17, 2014
    Posts:
    61
    We have had numerous reports from our players recently that they started a purchase, the money was taken out of their accounts, but they did not receive the items they paid for.

    We have tested this extensively on our own devices, however we are using test accounts (so not as to buy with real money). The purchases have all worked as expected.

    Does anyone know of any differences that could be occurring between the two types of accounts, that could affect a purchase failing? One would expect the test purchase account to behave in the same manner.

    There are no errors being thrown and we have several exception catches. It is quite hard to track down what could be happening. We recently upgraded to Unity 2017.1 and then to 2017.2, previously from 5.4 (I think?), if that makes a difference. Real account purchases were working fine in the previous build from 5.4.

    Thanks in advance!
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    I would recommend that you do a test with real currency, and capture the full device logs. Does this occur for every purchase, or just some? What store are you targeting? Please show the code logic that you use to provide the user the purchases.
     
Thread Status:
Not open for further replies.