You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
@@ -190,11 +194,15 @@ if (_isConsumable(productDetails)) {
190
194
191
195
### Completing a purchase
192
196
193
-
The `InAppPurchase.purchaseStream` will send purchase updates after
194
-
you initiate the purchase flow using `InAppPurchase.buyConsumable`
195
-
or `InAppPurchase.buyNonConsumable`. After delivering the content to
196
-
the user, call `InAppPurchase.completePurchase` to tell the App Store
197
-
and Google Play that the purchase has been finished.
197
+
The `InAppPurchase.purchaseStream` will send purchase updates after initiating
198
+
the purchase flow using `InAppPurchase.buyConsumable` or
199
+
`InAppPurchase.buyNonConsumable`. After verifying the purchase receipt and the
200
+
delivering the content to the user it is important to call
201
+
`InAppPurchase.completePurchase` to tell the underlying store that the
202
+
purchase has been completed. Calling `InAppPurchase.completePurchase` will
203
+
inform the underlying store that the app verified and processed the
204
+
purchase and the store can proceed to finalize the transaction and bill
205
+
the end user's payment account.
198
206
199
207
> **Warning:** Failure to call `InAppPurchase.completePurchase` and
200
208
> get a successful response within 3 days of the purchase will result a refund.
@@ -229,7 +237,7 @@ InAppPurchase.instance
229
237
230
238
When the price of a subscription is changed the consumer will need to confirm that price change. If the consumer does not
231
239
confirm the price change the subscription will not be auto-renewed. By default on both iOS and Android the consumer will
232
-
automatically get a popup to confirm the price change, but App developers can override this mechanism and show the popup on a later moment so it doesn't interrupt the critical flow of the App. This works different on the Apple App Store and on the Google Play Store.
240
+
automatically get a popup to confirm the price change, but App developers can override this mechanism and show the popup on a later moment so it doesn't interrupt the critical flow of the App. This works different for each of the stores.
233
241
234
242
#### Google Play Store (Android)
235
243
When the subscription price is raised, the consumer should approve the price change within 7 days. The official
0 commit comments