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 /
  • Help Room /
avatar image
0
Question by Anagr · Oct 13, 2018 at 01:41 PM · androidiap

[HELP] IAP Plugin does not retrieve subscriptions purchases history and active purchased subscription.

Hi, IAP does not retrieve subscriptions purchases history and active purchased subscription on Android 7.1 devices after application's reopening. Plugin version is 1.20.1 This issue reproduces even if I bought subscription on device with other version of the OS. Logs from Logcat from Android 7.1 device :

10-12 12:45:04.108 24771-24842/? I/Unity: UnityIAP Version: 1.20.1 10-12 12:45:04.259 24771-24842/? I/UnityIAP: IAB helper created. 10-12 12:45:05.727 24771-24842/? I/UnityIAP: Starting in-app billing setup. 10-12 12:45:05.761 24771-24771/? I/UnityIAP: Billing service connected. 10-12 12:45:05.763 24771-25113/? I/UnityIAP: invoking callback 10-12 12:45:05.763 24771-25113/? I/UnityIAP: Checking for in-app billing 3 support. 10-12 12:45:05.794 24771-25113/? I/UnityIAP: In-app billing version 3 supported for 10-12 12:45:05.810 24771-25113/? I/UnityIAP: Subscriptions AVAILABLE. 10-12 12:45:05.824 24771-25113/? I/UnityIAP: Subscription upgrade and downgrade are AVAILABLE. 10-12 12:45:05.837 24771-25113/? I/UnityIAP: Subscriptions information parse AVAILABLE. 10-12 12:45:05.850 24771-25113/? I/UnityIAP: VR supported. 10-12 12:45:05.851 24771-25113/? I/UnityIAP: onIabSetupFinished: 0 10-12 12:45:05.851 24771-25113/? I/UnityIAP: Requesting 2 products 10-12 12:45:05.851 24771-25113/? I/UnityIAP: QueryInventory: 2 10-12 12:45:05.851 24771-25113/? I/UnityIAP: invoking callback 10-12 12:45:05.851 24771-25113/? I/UnityIAP: Querying owned items, item type: inapp 10-12 12:45:05.851 24771-25113/? I/UnityIAP: Package name: 10-12 12:45:05.851 24771-25113/? I/UnityIAP: Calling getPurchases with continuation token: null 10-12 12:45:05.868 24771-25113/? I/UnityIAP: Owned items response: 0 10-12 12:45:05.868 24771-25113/? I/UnityIAP: Continuation token: null 10-12 12:45:05.868 24771-25113/? I/UnityIAP: Querying SKU details. 10-12 12:45:05.890 24771-25113/? I/UnityIAP: Querying owned items, item type: subs 10-12 12:45:05.890 24771-25113/? I/UnityIAP: Package name: 10-12 12:45:05.890 24771-25113/? I/UnityIAP: Calling getPurchases with continuation token: null 10-12 12:45:05.906 24771-25113/? I/UnityIAP: Owned items response: 0 10-12 12:45:05.906 24771-25113/? I/UnityIAP: Continuation token: null 10-12 12:45:05.906 24771-25113/? I/UnityIAP: Querying SKU details. 10-12 12:45:05.925 24771-25113/? I/UnityIAP: Querying owned items' purchase history, item type: subs 10-12 12:45:05.925 24771-25113/? I/UnityIAP: Package name: 10-12 12:45:05.925 24771-25113/? I/UnityIAP: Calling getPurchaseHistory with continuation token: null 10-12 12:45:06.401 24771-25113/? I/UnityIAP: Purchase history response: 0 10-12 12:45:06.401 24771-25113/? I/UnityIAP: Continuation token: null 10-12 12:45:06.401 24771-25113/? I/UnityIAP: onQueryInventoryFinished: true 10-12 12:45:06.401 24771-25113/? I/UnityIAP: Inventory refresh successful. (response: 0:OK) 10-12 12:45:06.401 24771-25113/? I/UnityIAP: The number of owned skus is2 10-12 12:45:06.401 24771-25113/? I/UnityIAP: The number of purchased skus is0 10-12 12:45:06.401 24771-25113/? I/UnityIAP: The number of subscriptions purchased history is0 10-12 12:45:08.532 24771-24842/? I/Unity: UnityIAP: Promo interface is available for 2 items

For comparison, logs from genymotion emulator Android 4.4.4 where is all works fine: 10-12 06:09:37.697 1872-1955/ I/Unity: UnityIAP Version: 1.20.1 10-12 06:09:37.757 1872-1955/ I/UnityIAP: IAB helper created. 10-12 06:09:38.909 1872-1955/ I/UnityIAP: Starting in-app billing setup. 10-12 06:09:40.525 1872-1872/ I/UnityIAP: Billing service connected. 10-12 06:09:40.533 1872-2264/ I/UnityIAP: invoking callback 10-12 06:09:40.533 1872-2264/ I/UnityIAP: Checking for in-app billing 3 support. 10-12 06:09:40.861 1872-2264/ I/UnityIAP: In-app billing version 3 supported for 10-12 06:09:41.021 1872-2264/ I/UnityIAP: Subscriptions AVAILABLE. 10-12 06:09:41.037 1872-2264/ I/UnityIAP: Subscription upgrade and downgrade are AVAILABLE. 10-12 06:09:41.061 1872-2264/ I/UnityIAP: Subscriptions information parse AVAILABLE. 10-12 06:09:41.113 1872-2264/ I/UnityIAP: VR supported. 10-12 06:09:41.113 1872-2264/ I/UnityIAP: onIabSetupFinished: 0 10-12 06:09:41.113 1872-2264/ I/UnityIAP: Requesting 2 products 10-12 06:09:41.113 1872-2264/ I/UnityIAP: QueryInventory: 2 10-12 06:09:41.113 1872-2264/ I/UnityIAP: invoking callback 10-12 06:09:41.113 1872-2264/ I/UnityIAP: Querying owned items, item type: inapp 10-12 06:09:41.113 1872-2264/ I/UnityIAP: Package name: 10-12 06:09:41.113 1872-2264/ I/UnityIAP: Calling getPurchases with continuation token: null 10-12 06:09:41.133 1872-2264/ I/UnityIAP: Owned items response: 0 10-12 06:09:41.133 1872-2264/ I/UnityIAP: Continuation token: null 10-12 06:09:41.133 1872-2264/ I/UnityIAP: Querying SKU details. 10-12 06:09:41.745 1872-2264/ I/UnityIAP: Querying owned items, item type: subs 10-12 06:09:41.745 1872-2264/ I/UnityIAP: Package name: 10-12 06:09:41.745 1872-2264/ I/UnityIAP: Calling getPurchases with continuation token: null 10-12 06:09:41.777 1872-2264/ I/UnityIAP: Owned items response: 0 10-12 06:09:41.777 1872-2264/ I/UnityIAP: Continuation token: null 10-12 06:09:41.777 1872-2264/ I/UnityIAP: Querying SKU details. 10-12 06:09:42.137 1872-2264/ I/UnityIAP: Querying owned items' purchase history, item type: subs 10-12 06:09:42.137 1872-2264/ I/UnityIAP: Package name: 10-12 06:09:42.137 1872-2264/ I/UnityIAP: Calling getPurchaseHistory with continuation token: null 10-12 06:09:43.061 1872-2264/ I/UnityIAP: Purchase history response: 0 10-12 06:09:43.065 1872-2264/ I/UnityIAP: This sku has purchase history: .subscriptionweek.premium 10-12 06:09:43.065 1872-2264/ I/UnityIAP: This sku has purchase history: .subscription.premium 10-12 06:09:43.065 1872-2264/ I/UnityIAP: Continuation token: null 10-12 06:09:43.065 1872-2264/ I/UnityIAP: onQueryInventoryFinished: true 10-12 06:09:43.065 1872-2264/ I/UnityIAP: Inventory refresh successful. (response: 0:OK) 10-12 06:09:43.065 1872-2264/ I/UnityIAP: The number of owned skus is2 10-12 06:09:43.065 1872-2264/ I/UnityIAP: The number of purchased skus is0 10-12 06:09:43.065 1872-2264/ I/UnityIAP: The number of subscriptions purchased history is2 10-12 06:09:43.673 1872-1955/ I/Unity: UnityIAP: Promo interface is available for 2 items

I hope someone can help me.

Comment
Add comment · Show 2
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 pako · Oct 13, 2018 at 01:44 PM 0
Share

You should probably post this in the UnityIAP forum: https://forum.unity.com/forums/unity-iap.112/

avatar image Anagr · Oct 14, 2018 at 07:51 AM 0
Share

@pako Thanks. I will

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

270 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 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

How to upgrade/downgrade a Google subscription from Unity 0 Answers

can i use Unity IAP in kitkat? 0 Answers

unity in app purchase not working in android 0 Answers

my Unity IAP plugin is not working 1 Answer

Unity Android IAP content 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