Quantcast
Channel: Questions in topic: "iap"
Viewing all articles
Browse latest Browse all 595

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

$
0
0
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.

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>