Search Unity

Bug IAP transactions can't be restored on another device

Discussion in 'Unity IAP' started by justtime, Dec 3, 2022.

  1. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    With the latest Unity IAP and 2020 LTS i'm still getting this errors from Android(Google Play) users. They change device, auth with the same Google account and can't access purchased items.
     
  2. Arnaud_Gorain

    Arnaud_Gorain

    Unity Technologies

    Joined:
    Jun 28, 2022
    Posts:
    183
    Hi @justtime,
    Can you share more details on this? Are you able to reproduce it? Do you have logs that you can share?
     
  3. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    No, i just received messages from my users(i have 700k installs)
     
  4. Yannick_D

    Yannick_D

    Unity Technologies

    Joined:
    Feb 21, 2022
    Posts:
    235
    Hello,
    I tried to reproduce this on 4.5.1, but the restore was working correctly for me.
    What version of IAP are you using?
    Are the purchased items non-consumables and/or subscriptions? Consumables cannot be restored.

    Also make sure the account used for the Google Play Store is the same one logged on the device.
    If there are multiple accounts, signing out from all of them except the one with the purchase can also help.
     
    justtime likes this.
  5. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,264
    Or the account order on the new device is not the same as on the old device, so they are using a different main account by default. (signing out of the others would solve this)
     
  6. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    I use version 4.5.1 too. These are non-consumables items only. And it's the same Google acc.
    Thanks for the advice about signing out from other accounts.
     
  7. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    Another message from my user
    Approximately 1 month ago I purchased your premium version and it was looking good for about 2,3 days but then it turned back to unpaid version
     
  8. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,264
    This seems more related to a pending transaction which is 3 days on Google after it gets refunded and revoked.
     
  9. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    What do you mean? Did the user manually refund the purchase?
     
  10. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,264
    Arnaud_Gorain likes this.
  11. Unity3D_FerozAhamed

    Unity3D_FerozAhamed

    Joined:
    Dec 20, 2022
    Posts:
    8
    Well, I see Unity not focusing much on this issue though there have been multiple issues raised by many people on different forums.

    I had to eventually remove IAP from my game because of the same issue.
     
  12. Arnaud_Gorain

    Arnaud_Gorain

    Unity Technologies

    Joined:
    Jun 28, 2022
    Posts:
    183
    Hi @duozgamesindia,
    Do you have details on your issue or link to the other posts?

    As shared above, this seems to be normal behavior from Google: