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

Commit 98a11580 authored by Kevin Hufnagle's avatar Kevin Hufnagle
Browse files

docs: Added note - test subscriptions cannot use reserved IDs

The "Testing In-app Billing" page now includes a note which explains
that test subscription purchases must use real purchase IDs, not
any of the IDs reserved for testing one-time in-app purchases.

Bug: 27352434
Change-Id: I625178c3517ce9940bc4746d99f1d506fd5e944b
parent afbf16f9
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -199,6 +199,15 @@ reserved product IDs. Also, you cannot specify the form of payment when you make
with a reserved product ID. Figure 1 shows the checkout flow for the reserved item that has the
product ID android.test.purchased.</p>

<p class="note">
  <strong>Note:</strong> If you're testing subscription purchases, you must use
  the product ID of an actual subscription, not a reserved product ID. To verify
  that Google Play is processing the test subscription purchases correctly, you
  should
  <a href="/google/play/billing/billing/billing_admin.html#billing-testing-setup">set
  up test accounts</a> for your app.
</p>

<img src="{@docRoot}images/billing_test_flow.png" height="381" id="figure1" />
<p class="img-caption">
  <strong>Figure 1.</strong>Purchase flow for the special reserved item android.test.purchased.