Monday, 15 March 2010

cordova - Android In-app billing purchase - Item not found -



cordova - Android In-app billing purchase - Item not found -

i have implemented in-app billing v3 plugin phonegap. when purchase item, google play returns following

the item attempting purchase not found

this setup issue somewhere, can't find problem.

this have done far:

item created on google play , active price queried item id same 1 on google play uploaded apk in alpha channel ( tried beta channel), in 'draft in alpha' status waited few hours ( 48h! ) used different gmail business relationship test purchase test business relationship email address in licence white list also created google grouping , added test user in it tested app on 2 differents devices apk signed , uploaded google play. same version installed on device tried managed , unmanaged products purchased item android.test.purchased works the billing key in configuration same 1 on google play google play version on device: 4.8.20

here stack have logcat, unusual error @ end, not sure if related:

d/cordovalog(32254): file:///android_asset/www/plugins/com.smartmobilesoftware.inappbilling/www/inappbilling.js: line 6 : inappbilling[js]: setup ok i/web console(32254): inappbilling[js]: setup ok:6 d/cordova_billing(32254): init start d/cordova_billing(32254): creating iab helper. d/cordova_billing(32254): starting setup. d/iabhelper(32254): starting in-app billing setup. w/pluginmanager(32254): thread warning: exec() phone call inappbillingplugin.init blocked main thread 21ms. plugin should utilize cordovainterface.getthreadpool(). d/iabhelper(32254): billing service connected. d/iabhelper(32254): checking in-app billing 3 support. d/finsky (32296): [2476] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/iabhelper(32254): in-app billing version 3 supported com.montreal.deps d/finsky (32296): [2451] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/iabhelper(32254): subscriptions available. d/cordova_billing(32254): setup finished. d/cordova_billing(32254): setup successful. querying inventory. d/iabhelper(32254): starting async operation: refresh inventory d/iabhelper(32254): querying owned items, item type: inapp d/iabhelper(32254): bundle name: com.montreal.deps d/iabhelper(32254): calling getpurchases continuation token: null d/finsky (32296): [2450] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/finsky (32296): [2450] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/iabhelper(32254): owned items response: 0 d/iabhelper(32254): continuation token: null d/iabhelper(32254): querying sku details. d/iabhelper(32254): queryprices: nil because there no skus. d/iabhelper(32254): querying owned items, item type: subs d/iabhelper(32254): bundle name: com.montreal.deps d/iabhelper(32254): calling getpurchases continuation token: null d/finsky (32296): [2476] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/finsky (32296): [2476] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/iabhelper(32254): owned items response: 0 d/iabhelper(32254): continuation token: null d/iabhelper(32254): querying sku details. d/iabhelper(32254): queryprices: nil because there no skus. d/iabhelper(32254): ending async operation: refresh inventory d/cordova_billing(32254): within mgotinventorylistener d/cordova_billing(32254): query inventory successful. d/cordovalog(32254): file:///android_asset/www/plugins/com.smartmobilesoftware.inappbilling/www/inappbilling.js: line 6 : inappbilling[js]: purchase called! i/web console(32254): inappbilling[js]: purchase called!:6 d/iabhelper(32254): starting async operation: launchpurchaseflow d/iabhelper(32254): constructing purchase intent deps.item.test, item type: inapp d/finsky (32296): [2451] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/finsky (32296): [2451] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/finsky (32296): [2451] inappbillingutils.getpreferredaccount: com.montreal.deps: business relationship first business relationship - [sdkny9otgbrmmwdfmof3ygfedja] d/iabhelper(32254): launching purchase intent deps.item.test. request code: 10001 w/pluginmanager(32254): thread warning: exec() phone call inappbillingplugin.buy blocked main thread 28ms. plugin should utilize cordovainterface.getthreadpool(). d/cordovaactivity(32254): paused application! d/cordovawebview(32254): handle pause d/firewallpolicy( 2119): geturlfilterenabled(true) d/firewallpolicy( 2119): isurlblocked - policy disabled d/webview (32254): loadurlimpl: called d/webcore (32254): core loadurl: called d/webkit (32254): firewall not null d/firewallpolicy( 2119): geturlfilterenabled(true) d/firewallpolicy( 2119): isurlblocked - policy disabled d/webkit (32254): euler: isurlblocked = false d/firewallpolicy( 2119): geturlfilterenabled(true) d/firewallpolicy( 2119): isurlblocked - policy disabled i/clipboardserviceex( 2119): send intent dismiss clipboard dialog within hidecurrentinputlocked() ! d/windowmanager( 2119): phonewindowmanager: focuschangedlw d/keyguardviewmediator( 2119): sethidden false d/cordovalog(32254): file:///android_asset/www/app/js/controllers/payment.js: line 12 : response payment i/web console(32254): response payment:12 d/cordovalog(32254): file:///android_asset/www/app/js/controllers/payment.js: line 13 : ok i/web console(32254): ok:13 d/finsky (32296): [1] carrierparamsaction.createcarrierbillingparameters: carrier billing config null. device not targeted dcb 2. e/finsky (32296): [2472] filebasedkeyvaluestore.delete: effort delete 'paramsopt-pzzx02i69kntndglqg' failed!

many if find problem have been fighting few days now.

apks in draft status no longer work testing in-app billing. need release in alpha or beta channel.

reference: http://developer.android.com/google/play/billing/billing_testing.html#draft_apps

android cordova in-app-purchase in-app-billing

No comments:

Post a Comment