Hi all — hoping someone has run into this. restorePurchases() (via Flutter's in_app_purchase/in_app_purchase_storekit plugin, which wraps StoreKit) consistently returns zero transactions for an Apple ID that has a confirmed, currently active auto-renewable subscription to my app.
Evidence the subscription is genuinely active:
Settings → [Apple ID] → Subscriptions shows the subscription as active for this Apple ID.
Independently confirmed via the App Store Server API (GET /inApps/v1/subscriptions/{originalTransactionId}) that Apple's servers currently recognize this subscription.
Details:
originalTransactionId: 2000000099299646, original purchase mid-2022
The App Store Server API's "latest transaction" for this ID resolves to environment: Sandbox, even though this Apple ID has also made real Production purchases over time — wondering if mixed Sandbox/Production history on one Apple ID could be affecting restorePurchases()'s results
Tested on a real device, iOS [version], with and without an explicit SKPaymentQueueDelegate set — no difference in behavior
Would appreciate any insight — thanks!
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
StoreKit
In-App Purchase
Subscriptions
1
0
368