Subscription Auto-Canceling Issue
Closed this issue · 6 comments
Plugin Name: flutter_inapp_purchase
Version: 5.4.2
Platform : Android
Expected behavior: Subscription should not get auto cancel after purchased.
Tested environment : Real Device
Flutter Doctor:
[✓] Flutter (Channel stable, 3.3.7, on macOS 12.6.5 21G531 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.80.1)
[✓] Connected device (1 available)
[✓] HTTP Host Availability
• No issues found!
Did you find any solution? @mustakimpawle
Did you find the solution?
I am facing the same thing with this issue.
In more detail, this is what happens:
A user finishes subscribing and the purchase receipt is validated, completed and the purchase detail (i.e. orderId) is stored for later use.
Function in use: _inAppPurchase.finishTransaction(productItem);
After that, the user can use the subscription for a while but later on, maybe the app has restarted or the user reinstalled the app, in the app it checks whether the subscription is active using the orderId that was stored with the help of either one of these functions:
1. _inAppPurchase.getAvailablePurchases()
2. _inAppPurchase.checkSubscribed(sku: orderId)
And both functions detect, after sometime, as an inactive subscription even if the subscription is still going in the playstore subscriptions.
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
Any updates?
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.