From 683db3037a5ecf140d3744455180916fd4c2c3b2 Mon Sep 17 00:00:00 2001
From: Kevin Hufnagle orderId
field of the PURCHASE_STATE_CHANGED
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 Testing In-app
+ Billing.
+
In your app, you can use the order number as a general-purpose identifier for the in-app purchase transaction. After the purchase, you can use the order number as a means of tracking the transaction in reconciliation reports and for diff --git a/docs/html/google/play/billing/billing_testing.jd b/docs/html/google/play/billing/billing_testing.jd index 018276defb84..755f3ffd6220 100644 --- a/docs/html/google/play/billing/billing_testing.jd +++ b/docs/html/google/play/billing/billing_testing.jd @@ -79,14 +79,11 @@ launch. They let authorized user accounts make purchases of your in-app products through Google Play without incurring any actual charges to the user accounts.
-Once authorized for testing access, those users can make purchases without
-being charged.
-Test purchases are real orders and Google Play processes them in the same way as
-other orders. However, the orderId
field for test purchases is
-blank.
-When purchases are complete, Google Play prevents the orders from
-going to financial processing, ensuring that there are no actual charges to user
-accounts, and automatically canceling the completed orders after 14 days.
+ 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.
+
Note: Test subscription purchases recur daily, regardless of @@ -130,8 +127,8 @@ account. Users can confirm the account that is making a purchase by expanding th purchase dialog.
- Note: For test subscription purchases, leave the {@code orderId} - field blank. You can use the {@code purchaseToken} field to identify test purchases. + Note: For test purchases, leave the {@code orderId} field + blank. You can use the {@code purchaseToken} field to identify test purchases.
@@ -150,33 +147,22 @@ with a notice across the center of the purchase dialog, for easy identification.Google Play accumulates completed test purchases for each user but does not -pass them on to financial processing. Over time, it automatically clears out -the purchases by canceling them.
+pass them on to financial processing.In some cases, you might want to manually cancel a test purchase to continue -testing. For canceling purchases, you have these options:
- -- You can cancel test subscriptions purchases from the app page in the Play Store, - or use the - - {@code cancel} method. -
-Important: The - {@code refund} and + {@code refund()} and - {@code revoke} methods do not support test purchases. + {@code revoke()} methods of the Purchases.subscriptions API don't support + test purchases.
-- 2.11.0