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

Commit 3c059302 authored by Dirk Dougherty's avatar Dirk Dougherty
Browse files

Doc change: update iab order number format.

Change-Id: I798ca82ed373df897f0e8d0a0af1c5bd6c3b8ea0
parent 2757bde1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -442,7 +442,7 @@ Merchant Order Number (rather than a Google Order Number) and reports the Mercha
Order Number as the value of <code>orderID</code>. Here's an
example:</p>

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

<p>For transactions dated previous to 5 December 2012, Google checkout assigned
a Google Order Number and reported that number as the value of
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ startIntentSenderForResult(pendingIntent.getIntentSender(),
<p>The purchase data for the order is a String in JSON format that is mapped to the {@code INAPP_PURCHASE_DATA} key in the response {@link android.content.Intent}, for example:
<pre>
'{
   "orderId":"12999763169054705758.1371079406387615",
   "orderId":"GPA.1234-5678-9012-34567",
   "packageName":"com.example.app",
   "productId":"exampleSku",
   "purchaseTime":1345678900000,
+4 −4
Original line number Diff line number Diff line
@@ -453,10 +453,10 @@ payments provides a base Merchant Order Number for all recurrences of the
subscription and denotes
each recurring transaction by appending an integer as follows: </p>

<p><span style="color:#777"><code style="color:#777">12999556515565155651.5565135565155651</code> (base order number)</span><br />
<code>12999556515565155651.5565135565155651..0</code> (first recurrence orderID)<br />
<code>12999556515565155651.5565135565155651..1</code> (second recurrence orderID)<br />
<code>12999556515565155651.5565135565155651..2</code> (third recurrence orderID)<br />
<p><span style="color:#777"><code style="color:#777">GPA.1234-5678-9012-34567</code> (base order number)</span><br />
<code>GPA.1234-5678-9012-34567..0</code> (first recurrence orderID)<br />
<code>GPA.1234-5678-9012-34567..1</code> (second recurrence orderID)<br />
<code>GPA.1234-5678-9012-34567..2</code> (third recurrence orderID)<br />
...<br /></p>

<p>Google Play provides the order number as the value of the
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ is shown below. </p>
<pre class="no-pretty-print" style="color:black">{ "nonce" : 1836535032137741465,
  "orders" :
    [{ "notificationId" : "android.test.purchased",
       "orderId" : "12999556515565155651.5565135565155651"
       "orderId" : "GPA.1234-5678-9012-34567"
       "packageName" : "com.example.dungeons",
       "productId" : "android.test.purchased",
       "developerPayload" : "bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ",