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
[in_app_purchase] Updates handling of subscription price changes in README. (flutter#4643)
This PR updates the "Confirming subscription price changes" section in the README to match the new specifications in Android's billing client .
Solves flutter#131248
Copy file name to clipboardExpand all lines: packages/in_app_purchase/in_app_purchase/README.md
+18-31Lines changed: 18 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -239,40 +239,27 @@ InAppPurchase.instance
239
239
240
240
### Confirming subscription price changes
241
241
242
-
When the price of a subscription is changed the consumer will need to confirm that price change. If the consumer does not
243
-
confirm the price change the subscription will not be auto-renewed. By default on both iOS and Android the consumer will
244
-
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.
242
+
When the price of a subscription is changed the consumer will need to confirm
243
+
that price change. If the consumer does not confirm the price change the
244
+
subscription will not be auto-renewed. By default on both iOS and Android the
245
+
consumer will automatically get a popup to confirm the price change. Depending
246
+
on the platform there are different ways to interact with this flow as
247
+
explained in the following paragraphs.
245
248
246
249
#### Google Play Store (Android)
247
-
When the subscription price is raised, the consumer should approve the price change within 7 days. The official
248
-
documentation can be found [here](https://support.google.com/googleplay/android-developer/answer/140504?hl=en#zippy=%2Cprice-changes).
249
-
When the price is lowered the consumer will automatically receive the lower price and does not have to approve the price change.
250
250
251
-
After 7 days the consumer will be notified through email and notifications on Google Play to agree with the new price. App developers have 7 days to explain the consumer that the price is going to change and ask them to accept this change. App developers have to keep track of whether or not the price change is already accepted within the app or in the backend. The [Google Play API](https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptions) can be used to check whether or not the price change is accepted by the consumer by reading the `priceChange` property on a subscription object.
252
-
253
-
The `InAppPurchaseAndroidPlatformAddition` can be used to show the price change confirmation flow. The additions contain the function `launchPriceChangeConfirmationFlow` which needs the SKU code of the subscription.
0 commit comments