diff options
author | Bill Gruber <billg@google.com> | 2011-04-07 12:27:36 -0700 |
---|---|---|
committer | Bill Gruber <billg@google.com> | 2011-04-07 14:30:38 -0700 |
commit | afecd1e99284dc386f07571c69edfed8c12f1cef (patch) | |
tree | cb52ac3266f8e29e9bb6caf84f7c4d33a19c930a /docs/html/guide/market | |
parent | 48a1b52bc736acfe9c4723abf6db7c8befc5e43b (diff) | |
download | frameworks_base-afecd1e99284dc386f07571c69edfed8c12f1cef.zip frameworks_base-afecd1e99284dc386f07571c69edfed8c12f1cef.tar.gz frameworks_base-afecd1e99284dc386f07571c69edfed8c12f1cef.tar.bz2 |
IAB docs--status codes fix
Bug: 4208641
Change-Id: I91d4448b62950579081a7ec99f4a39237140d299
Diffstat (limited to 'docs/html/guide/market')
-rwxr-xr-x | docs/html/guide/market/billing/billing_reference.jd | 18 |
1 files changed, 13 insertions, 5 deletions
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.</p> <tr> <th>Response Code</th> +<th>Value</th> <th>Description</th> </tr> <tr> <td><code>RESULT_OK</code></td> + <td>0</td> <td>Indicates that the request was sent to the server successfully. When this code is returned in response to a <code>CHECK_BILLING_SUPPORTED</code> request, indicates that billing is supported.</td> </tr> <tr> <td><code>RESULT_USER_CANCELED</code></td> + <td>1</td> <td>Indicates that the user pressed the back button on the checkout page instead of buying the item.</td> </tr> <tr> <td><code>RESULT_SERVICE_UNAVAILABLE</code></td> + <td>2</td> <td>Indicates that the network connection is down.</td> </tr> <tr> <td><code>RESULT_BILLING_UNAVAILABLE</code></td> + <td>3</td> <td>Indicates that in-app billing is not available because the <code>API_VERSION</code> 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).</td> </tr> <tr> <td><code>RESULT_ITEM_UNAVAILABLE</code></td> + <td>4</td> <td>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 <code>REQUEST_PURCHASE</code> request or if an item is unpublished in the application's product list.</td> </tr> <tr> - <td><code>RESULT_ERROR</code></td> - <td>Indicates an unexpected server error.</td> -</tr> - -<tr> <td><code>RESULT_DEVELOPER_ERROR</code></td> + <td>5</td> <td>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.</td> </tr> +<tr> + <td><code>RESULT_ERROR</code></td> + <td>6</td> + <td>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.</td> +</tr> </table> <h2 id="billing-interface">In-app Billing Service Interface</h2> |