Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 392648f5 authored by Kevin Hufnagle's avatar Kevin Hufnagle
Browse files

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
parent 9c0c3d8d
Loading
Loading
Loading
Loading
+5 −6
Original line number Original line Diff line number Diff line
@@ -748,10 +748,9 @@ you at the conclusion of the purchase flow, as the value of the
intent.</p>
intent.</p>


<p class="note">
<p class="note">
  <strong>Note:</strong> When a user completes a test purchase, the
  <strong>Note:</strong> Test purchases don't have an <code>orderId</code>
  <code>orderId</code> field remains blank. To track test transactions, use
  field. To track test transactions, you use the <code>purchaseToken</code>
  the <code>purchaseToken</code> field instead. For more information about
  field instead. For more information about working with test purchases, see <a
  working with test purchases, see <a
  href="{@docRoot}google/play/billing/billing_testing.html">Testing In-app
  href="{@docRoot}google/play/billing/billing_testing.html">Testing In-app
  Billing</a>.
  Billing</a>.
</p>
</p>
@@ -766,14 +765,14 @@ assigned and managed by Google.</p>


<p>For transactions dated 5 December 2012 or later, Google payments assigns a
<p>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
Merchant Order Number (rather than a Google Order Number) and reports the Merchant
Order Number as the value of <code>orderID</code>. Here's an
Order Number as the value of <code>orderId</code>. Here's an
example:</p>
example:</p>


<pre>"orderId" : "GPA.1234-5678-9012-34567"</pre>
<pre>"orderId" : "GPA.1234-5678-9012-34567"</pre>


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


<pre>"orderId" : "556515565155651"</pre>
<pre>"orderId" : "556515565155651"</pre>
+5 −5
Original line number Original line Diff line number Diff line
@@ -81,8 +81,8 @@ accounts.</p>


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


<p class="note">
<p class="note">
@@ -127,11 +127,11 @@ account. Users can confirm the account that is making a purchase by expanding th
purchase dialog.</p>
purchase dialog.</p>


<p class="note">
<p class="note">
  <strong>Note:</strong> For test purchases, leave the {@code orderId} field
  <strong>Note:</strong> Test purchases don't have an <code>orderId</code>
  blank. You can use the {@code purchaseToken} field to identify test purchases.
  field. To track test purchases, you use the <code>purchaseToken</code> field
  instead.
</p>
</p>



<h4 id="tp-account">Test purchases and developer account</h4>
<h4 id="tp-account">Test purchases and developer account</h4>
<p>Authorized license test accounts are associated with your developer account
<p>Authorized license test accounts are associated with your developer account
in Google Play, rather than with a specific APK or package name. Identifying an
in Google Play, rather than with a specific APK or package name. Identifying an