Tried it all 
from 
http://stackoverflow.com/questions/6524551/android-in-app-billing-item-unavailable/11845536#11845536


   - 
   
   in sign with public key
   - 
   
   the version of the Market application in the Device should be 2.3.4 or 
   higher
   - 
   
   the device you use for testing must run a standard version of the Android 
   1.6 or later
   - 
   
   the application being tested must be uploaded as draft, in the Android 
   market, and must be signed
   - 
   
   the application installed in the device must be the same as the one that 
   was uploaded as draft to the market
   - 
   
   the device must have a [email protected] account as its primary 
   account and this account should be defined as a test account in the Android 
   market
   - 
   
   the products for in-app billing in the Android market must have the same 
   IDs as the ones displayed in the application
   - the in-app products in the Android market must be published
   
   

   - Wait for a couple of hours to make sure settings are migrated to 
   server.
   

The problem is that in app purchases for test accounts has worked before. 
Now they stopped working for new test users. If I'm using an old test 
account that I've used before to buy they work.

in the log I get strange message that I can't find any information about:
E/Finsky  ( 1559): [1] CheckoutPurchase.setError: 
type=IAB_PERMISSION_ERROR, code=4, message=null

tags: in app purchase, test account, android, RESULT_ITEM_UNAVAILABLE

full log:

I/Unity   ( 1889): #Store: Unlock Freemium: True

I/Unity   ( 1889): #Store: InitializeStore

D/dalvikvm( 1889): GC_EXTERNAL_ALLOC freed 444K, 58% free 2833K/6727K, 
external 2125K/2133K, paused 28ms

I/Prime31 ( 1889): service onServiceConnected

D/Finsky  ( 1559): [27] MarketBillingService.getPreferredAccount: 
se.itatake.pebbles: Account from first account.

I/Prime31-BS( 1889): CheckBillingSupported response code: RESULT_OK

I/Prime31 ( 1889): billing service active? true

I/Prime31 ( 1889): billing supported: true

I/Unity   ( 1889): #Store: unlock billing support : True

I/Unity   ( 1889): #Store: restore transactions

D/Finsky  ( 1559): [7] MarketBillingService.getPreferredAccount: 
se.itatake.pebbles: Account from first account.

D/Finsky  ( 1559): [7] MarketBillingService.getPreferredAccount: 
se.itatake.pebbles: Account from first account.

I/ElegantRequestDirector( 1559): I/O exception 
(org.apache.http.NoHttpResponseException) caught when processing request: 
The target server failed to respond

I/ElegantRequestDirector( 1559): Retrying request

D/dalvikvm( 1559): GC_CONCURRENT freed 1244K, 54% free 3733K/8071K, 
external 2222K/2686K, paused 7ms+11ms

I/Prime31-BS( 1889): handleCommand() action: 
com.android.vending.billing.PURCHASE_STATE_CHANGED

D/Finsky  ( 1559): [1] MarketBillingService.sendResponseCode: Sending 
response RESULT_OK for request 6436554531222434304 to se.itatake.pebbles.

I/Prime31 ( 1889): billing service active? true

I/Prime31-BS( 1889): total verified purchases: 0

I/Prime31-BS( 1889): handleCommand() action: 
com.android.vending.billing.RESPONSE_CODE

D/Prime31-BS( 1889): RestoreTransactions: RESULT_OK

I/Prime31 ( 1889): billing service active? true

D/Prime31 ( 1889): completed RestoreTransactions request

D/DigitalClockWidget Receiver(  961): onReceive: 
android.intent.action.TIME_TICK

D/dalvikvm(  961): GC_EXTERNAL_ALLOC freed 11K, 52% free 2590K/5379K, 
external 2425K/2428K, paused 49ms

W/CursorWrapperInner(  961): Cursor finalized without prior close()

I/Unity   ( 1889): #Store: restored billing completed

I/Unity   ( 1889):    Want to unlock id: unlock_game_android

I/Unity   ( 1889):    Has already unlocked in restore so skip?: False

I/Unity   ( 1889):       unlock now: unlock_game_android

D/Finsky  ( 1559): [27] MarketBillingService.getPreferredAccount: 
se.itatake.pebbles: Account from first account.

D/Finsky  ( 1559): [27] MarketBillingService.getPreferredAccount: 
se.itatake.pebbles: Account from first account.

I/ActivityManager(  202): Starting: Intent { act=android.intent.action.VIEW 
cmp=com.android.vending/com.google.android.finsky.activities.IabActivity 
(has extras) } from pid -1

W/ActivityManager(  202): Activity pause timeout for HistoryRecord{2b435080 
se.itatake.pebbles/com.unity3d.player.UnityPlayerNativeActivity}

D/Finsky  ( 1559): [1] SelfUpdateScheduler.checkForSelfUpdate: Skipping 
self-update. Local Version [8013015] >= Server Version [0]

I/CustomizationProvider(  529): No configuration file: 
/system/etc/customization/settings/com/sonyericsson/textinput/uxp/custom_settings.xml

I/ActivityManager(  202): Displayed 
com.android.vending/com.google.android.finsky.activities.IabActivity: +320ms

D/Unity   ( 1889): onDetachedFromWindow

W/InputManagerService(  202): Client not active, ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@2b05d020

D/kernel  (  120): [ 5603.621337] AKM8975 AKECS_GetCloseStatus returned (0)

D/dalvikvm( 1559): GC_EXTERNAL_ALLOC freed 416K, 54% free 3729K/8071K, 
external 2679K/2686K, paused 77ms

W/Finsky  ( 1559): [1] CarrierParamsAction.run: Saving carrier billing 
params failed.

E/Finsky  ( 1559): [1] CarrierBillingUtils.isDcb30: 
CarrierBillingParameters are null, fallback to 2.0

D/Finsky  ( 1559): [1] GetBillingCountriesAction.run: Skip getting fresh 
list of billing countries.

E/Finsky  ( 1559): [1] CarrierBillingUtils.isDcb30: 
CarrierBillingParameters are null, fallback to 2.0

D/Finsky  ( 1559): [1] CarrierProvisioningAction.shouldFetchProvisioning: 
Required CarrierBillingParams missing. Shouldn't fetch provisioning.

D/Finsky  ( 1559): [1] CarrierProvisioningAction.run: No need to fetch 
provisioning from carrier.

I/AKMD2   (  124): akmd2 : Compass Closed.

I/ElegantRequestDirector( 1559): I/O exception 
(org.apache.http.NoHttpResponseException) caught when processing request: 
The target server failed to respond

I/ElegantRequestDirector( 1559): Retrying request

I/global  ( 1559): Loaded time zone names for en_US in 365ms.

D/DfeApi  ( 1559): [1] DfeRequest.deliverResponse: Not delivering second 
response for request=[[ ] 
https://android.clients.google.com/fdfe/details?doc=inapp:se.itatake.pebbles:unlock_game_android
 
NORMAL 44]

I/global  ( 1559): Loaded time zone names for en_US in 373ms.

E/Finsky  ( 1559): [1] CheckoutPurchase.setError: 
type=IAB_PERMISSION_ERROR, code=4, message=null

D/dalvikvm( 1559): GC_CONCURRENT freed 1009K, 54% free 3791K/8071K, 
external 2222K/2753K, paused 3ms+5ms

D/AudioHardwareMSM7X30(  115): AudioStreamOutMSM72xx::standby()

D/AudioHardwareMSM7X30(  115): updateDeviceInfo: E rx_device 6 and 
tx_device 12

D/AudioHardwareMSM7X30(  115): No active voicecall/playback, disabling 
cur_rx 6

D/AudioHardwareMSM7X30(  115): value of device and enable is 6 0

D/kernel  (  120): [ 5606.520690] [msm7x30.c:msm_device_put] device 
speaker_stereo_rx set 0

D/kernel  (  120): [ 5606.526092] msm_snddev_poweramp_off: power off 
amplifier

D/AudioHardwareMSM7X30(  115): No active voicecall/recording, disabling 
cur_tx 12

D/AudioHardwareMSM7X30(  115): value of device and enable is 12 0

D/AudioHardwareMSM7X30(  115): updateDeviceInfo: X cur_rx 6 cur_tx 12

D/kernel  (  120): [ 5606.527893] [adsp.c:msm_adsp_put] closing module 
AFETASK

D/kernel  (  120): [ 5606.529541] [msm7x30.c:msm_device_put] device 
speaker_mono_tx set 0

D/kernel  (  120): [ 5606.529602] [audpp.c:audpp_dsp_event] DISABLE

D/kernel  (  120): [ 5606.529632] [audpp.c:audpp_disable] Received 
CFG_MSG_DISABLE from ADSP

D/kernel  (  120): [ 5606.529632] [adsp.c:msm_adsp_disable] disable 
interrupt

D/kernel  (  120): [ 5606.529663] [adsp.c:msm_adsp_put] closing module 
AUDPPTASK

W/InputManagerService(  202): Window already focused, ignoring focus gain 
of: com.android.internal.view.IInputMethodClient$Stub$Proxy@2b20aab0

I/AKMD2   (  124): akmd2 : Compass Opened.

D/DASH - select(  202): sensors_select_callback: select canceled by request

D/DASH - select(  202): sensors_select_callback: select canceled by request

D/DASH - select(  202): sensors_select_callback: select canceled by request

D/DASH - select(  202): sensors_select_callback: select canceled by request

D/kernel  (  120): [ 5608.500762] AKM8975 AKECS_GetOpenStatus returned (1)

D/AudioHardwareMSM7X30(  115): value of device and enable is 6 1

D/kernel  (  120): [ 5608.568695] [msm7x30.c:msm_device_put] device 
speaker_stereo_rx set 1

E/kernel  (  120): [ 5608.568695] [msm7x30.c:msm_device_put] device freq 
=48000

D/kernel  (  120): [ 5608.577239] [adsp.c:msm_adsp_get] module AFETASK has 
been registered

D/kernel  (  120): [ 5608.577270] [adsp.c:msm_adsp_enable] enable 
'AFETASK'state[0] id[17227119]

I/CustomizationProvider(  529): No configuration file: 
/system/etc/customization/settings/com/sonyericsson/textinput/uxp/custom_settings.xml

D/kernel  (  120): [ 5608.597015] [adsp.c:adsp_rtos_mtoa_cb] rpc event=0, 
proc_id=2, module=17227119, image=0

D/kernel  (  120): [ 5608.597015] [adsp.c:adsp_rtos_mtoa_cb] module 
AFETASK: READY

D/Finsky  ( 1559): [1] MarketBillingService.sendResponseCode: Sending 
response RESULT_ITEM_UNAVAILABLE for request 1689631282533516977 to 
se.itatake.pebbles.

D/kernel  (  120): [ 5608.638183] msm_snddev_poweramp_on: power on amplifier

D/kernel  (  120): [ 5608.638305] [adsp.c:msm_adsp_get] module AUDPPTASK 
has been registered

D/kernel  (  120): [ 5608.638305] [adsp.c:msm_adsp_enable] enable 
'AUDPPTASK'state[0] id[17227122]

I/Prime31-BS( 1889): handleCommand() action: 
com.android.vending.billing.RESPONSE_CODE

D/Prime31-BS( 1889): RequestPurchase: RESULT_ITEM_UNAVAILABLE

I/Prime31-RS( 1889): responseCodeReceived: RESULT_ITEM_UNAVAILABLE

I/Prime31 ( 1889): unlock_game_android: RESULT_ITEM_UNAVAILABLE

I/Prime31 ( 1889): billing service active? true

I/Prime31 ( 1889): purchase failed with responseCode: 
RESULT_ITEM_UNAVAILABLE

I/Unity   ( 1889): #Store: buy failed unlock_game_android

D/kernel  (  120): [ 5608.648925] [adsp.c:adsp_rtos_mtoa_cb] rpc event=0, 
proc_id=2, module=17227122, image=0

D/kernel  (  120): [ 5608.648925] [adsp.c:adsp_rtos_mtoa_cb] module 
AUDPPTASK: READY

D/kernel  (  120): [ 5608.652954] [audpp.c:audpp_dsp_event] ENABLE

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to