From afecd1e99284dc386f07571c69edfed8c12f1cef Mon Sep 17 00:00:00 2001
From: Bill Gruber
Date: Thu, 7 Apr 2011 12:27:36 -0700
Subject: IAB docs--status codes fix Bug: 4208641
Change-Id: I91d4448b62950579081a7ec99f4a39237140d299
---
docs/html/guide/market/billing/billing_reference.jd | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
(limited to 'docs/html/guide')
diff --git a/docs/html/guide/market/billing/billing_reference.jd b/docs/html/guide/market/billing/billing_reference.jd
index a95f389..5a7ba56 100755
--- a/docs/html/guide/market/billing/billing_reference.jd
+++ b/docs/html/guide/market/billing/billing_reference.jd
@@ -55,47 +55,55 @@ codes returned by Android Market.
Response Code |
+Value |
Description |
RESULT_OK |
+ 0 |
Indicates that the request was sent to the server successfully. When this code is returned in
response to a CHECK_BILLING_SUPPORTED request, indicates that billing is
supported. |
RESULT_USER_CANCELED |
+ 1 |
Indicates that the user pressed the back button on the checkout page instead of buying the
item. |
RESULT_SERVICE_UNAVAILABLE |
+ 2 |
Indicates that the network connection is down. |
RESULT_BILLING_UNAVAILABLE |
+ 3 |
Indicates that in-app billing is not available because the API_VERSION that you
specified is not recognized by the Android Market application or the user is ineligible for in-app
billing (for example, the user resides in a country that prohibits in-app purchases). |
RESULT_ITEM_UNAVAILABLE |
+ 4 |
Indicates that Android Market cannot find the requested item in the application's product
list. This can happen if the product ID is misspelled in your REQUEST_PURCHASE
request or if an item is unpublished in the application's product list. |
- RESULT_ERROR |
- Indicates an unexpected server error. |
-
-
-
RESULT_DEVELOPER_ERROR |
+ 5 |
Indicates that an application is trying to make an in-app billing request but the application
has not declared the com.android.vending.BILLING permission in its manifest. Can also indicate
that an application is not properly signed, or that you sent a malformed request, such as a
request with missing Bundle keys or a request that uses an unrecognized request type. |
+
+ RESULT_ERROR |
+ 6 |
+ Indicates an unexpected server error. For example, this error is triggered if you try to
+purchase an item from yourself, which is not allowed by Google Checkout. |
+
In-app Billing Service Interface
--
cgit v1.1