Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by AppsForAnybody · Sep 25, 2017 at 02:27 AM · androidgoogle playiappurchasein app purchase

IAP Restore purchase on Android "Already Recorded Transaction"

We are experiencing a bug with restoring iap on Android. Here are the steps to get to our issue:

  1. We make a non-consumable purchase which is processed and rewarded correctly.

  2. We uninstall the app.

  3. We reinstall the app. The log file below details what occurs. Google Play returns that the non-consumable ".disableAds" is owned, but when it tries to apply and process it, it reports "Already recorded transaction GPA.3359...."

This error does NOT occur if after we uninstall the app we delete any remaining files relating to the app which are left in the "Android" directory of the device. It seems like the transaction log is not getting deleted during an uninstall.

We are using the most up-to-date Unity IAP services, with Unity 2017.1.1f1. This device is running Android 6.0.1.

I'm not sure how to move forward with this issue. Thank you for your help!

 -24 14:51:15.810 14446-14458/? I/Unity: UnityIAP StandardPurchasingModule Version: 1.13.3                                              (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
     09-24 14:51:15.960 14446-14458/? I/UnityIAP: IAB helper created.
     09-24 14:51:16.170 14446-14458/? I/UnityIAP: Starting in-app billing setup.
     09-24 14:51:16.180 14446-14446/? I/UnityIAP: Billing service connected.
     09-24 14:51:16.190 14446-14591/? I/UnityIAP: invoking callback
     09-24 14:51:16.190 14446-14591/? I/UnityIAP: Checking for in-app billing 3 support.
     09-24 14:51:16.190 14446-14591/? I/UnityIAP: In-app billing version 3 supported for com.AppsForAnybody.FireBall
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: Subscriptions AVAILABLE.
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: VR supported.
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: onIabSetupFinished: 0
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: Requesting 8 products
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: QueryInventory: 8
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: invoking callback
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: Querying owned items, item type: inapp
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: Package name: com.AppsForAnybody.FireBall
     09-24 14:51:16.200 14446-14591/? I/UnityIAP: Calling getPurchases with continuation token: null
     09-24 14:51:16.220 14446-14591/? I/UnityIAP: Owned items response: 0
     09-24 14:51:16.220 14446-14591/? I/UnityIAP: Sku is owned: com.appsforanybody.fireball.disableads
     09-24 14:51:16.220 14446-14591/? I/UnityIAP: Continuation token: null
     09-24 14:51:16.220 14446-14591/? I/UnityIAP: Querying SKU details.
     09-24 14:51:16.500 14446-14591/? I/UnityIAP: Querying owned items, item type: subs
     09-24 14:51:16.500 14446-14591/? I/UnityIAP: Package name: com.AppsForAnybody.FireBall
     09-24 14:51:16.500 14446-14591/? I/UnityIAP: Calling getPurchases with continuation token: null
     09-24 14:51:16.520 14446-14591/? I/UnityIAP: Owned items response: 0
     09-24 14:51:16.520 14446-14591/? I/UnityIAP: Continuation token: null
     09-24 14:51:16.520 14446-14591/? I/UnityIAP: Querying SKU details.
     09-24 14:51:16.540 14446-14591/? I/UnityIAP: onQueryInventoryFinished: true
     09-24 14:51:16.540 14446-14591/? I/UnityIAP: Inventory refresh successful. (response: 0:OK)
     
     09-24 14:51:16.810 14446-14458/? I/Unity: OnInitialized: PASS
                                                
                                               (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
     09-24 14:51:16.820 14446-14458/? I/Unity: Already recorded transaction GPA.3359-9055-6150-54227
                                                
                                               (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
     09-24 14:51:16.820 14446-14458/? I/UnityIAP: Finish transaction:GPA.3359-9055-6150-54227

                        




Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image george_vasilchenko · Oct 10, 2018 at 01:07 PM 0
Share

The same here. In my case I can't reproduce it. Using multiple devices with the same account seems to be the reason. I purchase non-consumable on one device, expect it to be known on another. Sometimes it goes good and sometimes it's not. Triggering one more time the purchase results in Duplicate transaction.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

148 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity IAP doesn't work on Android 0 Answers

How to use Google play billing library 3? 0 Answers

UnityIAP not restoring purchases on Android 1 Answer

Purchases showing as tests 0 Answers

How do i Add In App Purchasing Without Being Android Developer 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges