poiuytrez / AndroidInAppBilling

Android App Billing plugin for Cordova
174 stars 144 forks source link

Item not found (v3 plugin) #57

Open florentvaldelievre opened 10 years ago

florentvaldelievre commented 10 years ago

After checking several time all the steps to make sure my configuration is Ok, My item is still not found. My item to purchase is deps.item.test ( Unmanaged product )

I am not sure if it is related but i have this error -CarrierParamsAction.createCarrierBillingParameters: Carrier billing config is null. Device is not targeted for DCB 2.

Is there anything obvious that you spot ? Many thanks !

D/CordovaLog(18815): file:///android_asset/www/plugins/com.smartmobilesoftware.inappbilling/www/inappbilling.js: Line 6 : InAppBilling[js]: setup ok I/Web Console(18815): InAppBilling[js]: setup ok:6 D/CORDOVA_BILLING(18815): init start D/CORDOVA_BILLING(18815): Creating IAB helper. D/CORDOVA_BILLING(18815): Starting setup. D/IabHelper(18815): Starting in-app billing setup. W/PluginManager(18815): THREAD WARNING: exec() call to InAppBillingPlugin.init blocked the main thread for 76ms. Plugin should use CordovaInterface.getThreadPool(). D/IabHelper(18815): Billing service connected. D/IabHelper(18815): Checking for in-app billing 3 support. D/Finsky (16706): [1607] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/IabHelper(18815): In-app billing version 3 supported for com.montreal.deps D/Finsky (16706): [1608] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/IabHelper(18815): Subscriptions AVAILABLE. D/CORDOVA_BILLING(18815): Setup finished. D/CORDOVA_BILLING(18815): Setup successful. Querying inventory. D/IabHelper(18815): Starting async operation: refresh inventory D/IabHelper(18815): Querying owned items, item type: inapp D/IabHelper(18815): Package name: com.montreal.deps D/IabHelper(18815): Calling getPurchases with continuation token: null D/Finsky (16706): [1631] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/Finsky (16706): [1631] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/IabHelper(18815): Owned items response: 0 D/IabHelper(18815): Continuation token: null D/IabHelper(18815): Querying SKU details. D/IabHelper(18815): queryPrices: nothing to do because there are no SKUs. D/IabHelper(18815): Querying owned items, item type: subs D/IabHelper(18815): Package name: com.montreal.deps D/IabHelper(18815): Calling getPurchases with continuation token: null D/Finsky (16706): [1607] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/Finsky (16706): [1607] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/IabHelper(18815): Owned items response: 0 D/IabHelper(18815): Continuation token: null I/ClipboardServiceEx( 2116): Send intent for dismiss clipboard dialog inside hideCurrentInputLocked() ! D/IabHelper(18815): Querying SKU details. D/IabHelper(18815): queryPrices: nothing to do because there are no SKUs. D/IabHelper(18815): Ending async operation: refresh inventory D/CORDOVA_BILLING(18815): Inside mGotInventoryListener D/CORDOVA_BILLING(18815): Query inventory was successful. D/CordovaLog(18815): file:///android_asset/www/plugins/com.smartmobilesoftware.inappbilling/www/inappbilling.js: Line 6 : InAppBilling[js]: buy called! I/Web Console(18815): InAppBilling[js]: buy called!:6 D/IabHelper(18815): Starting async operation: launchPurchaseFlow D/IabHelper(18815): Constructing buy intent for deps.item.test, item type: inapp D/Finsky (16706): [1608] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/Finsky (16706): [1608] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/Finsky (16706): [1608] InAppBillingUtils.getPreferredAccount: com.montreal.deps: Account from first account - [sdkNy9OtgBRMmwDfMof3YGfedjA] D/IabHelper(18815): Launching buy intent for deps.item.test. Request code: 10001 W/PluginManager(18815): THREAD WARNING: exec() call to InAppBillingPlugin.buy blocked the main thread for 44ms. Plugin should use CordovaInterface.getThreadPool(). D/Finsky (16706): [1] CarrierParamsAction.createCarrierBillingParameters: Carrier billing config is null. Device is not targeted for DCB 2. D/CordovaLog(18815): file:///android_asset/www/app/js/controllers/payment.js: Line 12 : response then payment I/Web Console(18815): response then payment:12 D/CordovaLog(18815): file:///android_asset/www/app/js/controllers/payment.js: Line 13 : OK I/Web Console(18815): OK:13 E/Finsky (16706): [1629] FileBasedKeyValueStore.delete: Attempt to delete 'paramsopT-pzzx02i69KNTNDgLqg' failed!

florentvaldelievre commented 10 years ago

Issue solved: http://stackoverflow.com/questions/24353016/android-in-app-billing-purchase-item-not-found