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. Dismiss Notice

IAP, Google Play, Android, Promotion - cannot get rid of transaction

Discussion in 'Unity IAP' started by akasabutski, Nov 24, 2020.

  1. akasabutski

    akasabutski

    Joined:
    Nov 7, 2018
    Posts:
    11
    I created promotions via Google Play. I have Consumable items. I used 1 promotion in Google Play. I started the game and had an exception message (something like 'recorded transaction'). I cannot buy the same item again, and the transaction record doesn't go anywhere. I can see the product's transactionID as well.

    I updated IAP package to 2.2.2. I reinstalled the game with more logs. I uploaded my apk to the internal testing track and got it from there. When I launch an app, the shop calls ProcessPurchase method of my store manager. I always return 'Complete'. I watch logs via LogCat and nothing exceptional is going on (no errors, or abnormal behavior). And yet... I still have this transaction. I tried to deal with it with ConfirmPendingPurchase, or deactivating the whole promo action, yet it appears every time.

    I need to get rid of this transaction, but Unity's IAP doesn't provide such functionality. This transaction doesn't allow me to purchase the item normally anymore (throws duplicate item, and error in UI). It seems that I ran out of options on how to accept/clear/decline this transaction that was made in Google Play via promo code. Please, help!
     
  2. John_Corbett

    John_Corbett

    Unity Technologies

    Joined:
    May 17, 2019
    Posts:
    150
    Hello @daek_f ,

    Can you please tell us if the product in question is a Consumable or Non-Consumable? This information will help us investigate your problem.
     
  3. akasabutski

    akasabutski

    Joined:
    Nov 7, 2018
    Posts:
    11
    I have only consumable items. The item is consumable.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    To continue your testing, you can create another tester account, although perhaps not ideal but would unblock you.