u have publish the items u have put in the developer account but no need to
publish ur app.
also need to mention required permisssions in your manifest.the unique id
which u have given in for each item should be same as the id u are sending
to google while purchasing package.....


On Tue, Aug 14, 2012 at 6:59 PM, Przemyslaw Wegrzyn
<codepaint...@gmail.com>wrote:

>  Actually, I've just realized that Googl'e s InApp tutorial contradicts
> the documentation statement.
>
> Documentation states that:
> "Note: You do not need to publish your application to do end-to-end
> testing. You only need to upload your application as a draft application to
> perform end-to-end testing."
> "Make sure that you publish the items (the application can remain
> unpublished)."
>
> However, above the inapp items list in the developer console I see the a
> message saying that I need to *publish the application itself* to make the
> items published, regardless of the individual item state.
>
> Which is true? Do I really need to publish my app to check InApps?!
>
> BR,
> Przemek
>
>
>
> On 08/14/2012 12:48 PM, Przemyslaw Wegrzyn wrote:
>
> Hi!
>
> I'm integrating InApp Billing functionality into my application. Testing
> with "fake" items e.g. android.test.purchased works fine, but trying to
> purchase any of my own items fails.
>
> I've double-checked the following:
>
> - signed application was uploaded to the publisher site, same APK
> installled on the device
> - all the inapp items were created
> - device runs Android 2.2.2, Google Play 3.7.15, and I have just
> factory-reseted it and assigned a brand new gmail account
> - the account is added as a test account on a publisher site
>
> Unfortunately, all I get is RESULT_ITEM_UNAVAILABLE. To make things more
> frustrating, I can see that the item was found on the server, as the
> billing popup dialog contains the item title/description that was entered
> on the publisher site!
>
> In the logs I can see the following messages from Finsky (replaced package
> name with xxx ,as I don't want to disclose it yet):
>
> 08-14 12:46:03.312 D/Finsky  (  525): [7]
> MarketBillingService.getPreferredAccount: com.xxx.xxx: Account from first
> account.
> 08-14 12:46:03.322 D/Finsky  (  525): [7]
> MarketBillingService.getPreferredAccount: com.xxx.xxx: Account from first
> account.
> 08-14 12:46:03.513 D/Finsky  (  525): [1]
> SelfUpdateScheduler.checkForSelfUpdate: Skipping self-update. Local Version
> [8013015] >= Server Version [0]
> 08-14 12:46:03.722 W/Finsky  (  525): [1] CarrierParamsAction.run: Saving
> carrier billing params failed.
> 08-14 12:46:03.722 E/Finsky  (  525): [1] CarrierBillingUtils.isDcb30:
> CarrierBillingParameters are null, fallback to 2.0
> 08-14 12:46:03.732 D/Finsky  (  525): [1] GetBillingCountriesAction.run:
> Skip getting fresh list of billing countries.
> 08-14 12:46:03.742 E/Finsky  (  525): [1] CarrierBillingUtils.isDcb30:
> CarrierBillingParameters are null, fallback to 2.0
> 08-14 12:46:03.752 D/Finsky  (  525): [1]
> CarrierProvisioningAction.shouldFetchProvisioning: Required
> CarrierBillingParams missing. Shouldn't fetch provisioning.
> 08-14 12:46:03.752 D/Finsky  (  525): [1] CarrierProvisioningAction.run:
> No need to fetch provisioning from carrier.
> 08-14 12:46:04.242 E/Finsky  (  525): [1] CheckoutPurchase.setError:
> type=IAB_PERMISSION_ERROR, code=4, message=null
> 08-14 12:46:07.302 D/Finsky  (  525): [1]
> MarketBillingService.sendResponseCode: Sending response
> RESULT_ITEM_UNAVAILABLE for request 3209013950184753921 to com.xxx.xxx.
>
> What am I missing here? What is IAB_PERMISSION_ERROR, code=4 ?
>
> Any help highly appreciated!
>
> Przemek
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Reply via email to