From 392648f5926e60dd674fb5e15a2944b7ac824f8a Mon Sep 17 00:00:00 2001 From: Kevin Hufnagle Date: Fri, 24 Jun 2016 09:38:35 -0700 Subject: [PATCH] docs: Edited phrasing for "orderId is blank with test IAP purchases" Also added links to the In-app Billing Reference documentation in areas where the "orderId" field is mentioned. Bug: 29068371 Change-Id: I457e0074032613b4721b16017642eedd457fe7f1 --- docs/html/google/play/billing/billing_admin.jd | 11 +++++------ docs/html/google/play/billing/billing_testing.jd | 10 +++++----- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/html/google/play/billing/billing_admin.jd b/docs/html/google/play/billing/billing_admin.jd index 05f3ad593b9d2..292cfcce0c36f 100644 --- a/docs/html/google/play/billing/billing_admin.jd +++ b/docs/html/google/play/billing/billing_admin.jd @@ -748,10 +748,9 @@ you at the conclusion of the purchase flow, as the value of the intent.

- Note: When a user completes a test purchase, the - orderId field remains blank. To track test transactions, use - the purchaseToken field instead. For more information about - working with test purchases, see Note: Test purchases don't have an orderId + field. To track test transactions, you use the purchaseToken + field instead. For more information about working with test purchases, see Testing In-app Billing.

@@ -766,14 +765,14 @@ assigned and managed by Google.

For transactions dated 5 December 2012 or later, Google payments assigns a Merchant Order Number (rather than a Google Order Number) and reports the Merchant -Order Number as the value of orderID. Here's an +Order Number as the value of orderId. Here's an example:

"orderId" : "GPA.1234-5678-9012-34567"

For transactions dated previous to 5 December 2012, Google checkout assigned a Google Order Number and reported that number as the value of -orderID. Here's an example of an orderID holding a +orderId. Here's an example of an orderId holding a Google Order Number:

"orderId" : "556515565155651"
diff --git a/docs/html/google/play/billing/billing_testing.jd b/docs/html/google/play/billing/billing_testing.jd index 755f3ffd62208..44b7ad3081cf1 100644 --- a/docs/html/google/play/billing/billing_testing.jd +++ b/docs/html/google/play/billing/billing_testing.jd @@ -81,8 +81,8 @@ accounts.

Once authorized for testing access, those users can make purchases without - being charged. The orderId field for test purchases remains - blank, ensuring that there are no actual charges to user accounts. + being charged. Test purchases don't have an orderId field, which + ensures that there are no actual charges to user accounts.

@@ -127,11 +127,11 @@ account. Users can confirm the account that is making a purchase by expanding th purchase dialog.

- Note: For test purchases, leave the {@code orderId} field - blank. You can use the {@code purchaseToken} field to identify test purchases. + Note: Test purchases don't have an orderId + field. To track test purchases, you use the purchaseToken field + instead.

-

Test purchases and developer account

Authorized license test accounts are associated with your developer account in Google Play, rather than with a specific APK or package name. Identifying an