Replies: 2 comments 4 replies
-
|
@juampiq6 did you solve this? I am seeing the opposite on 3.1.8. If i close my app for a few hours and then open it, each subscription renewal that happened whilst the app was closed calls onPurchaseSuccess. Mine are timed at 9 minutes between renewals. |
Beta Was this translation helpful? Give feedback.
-
|
@juampiq6 You won’t get a “batch replay” of all past renewals. Stores only deliver pending/unfinished transactions as purchase updates. If you’re seeing just one per app launch, it usually means earlier transactions weren’t finished; the store then replays the oldest one each time. What to do
Also note: Sandbox renewal timing/behavior differs from TestFlight/production, so don’t rely on debug renewals to mimic prod. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So i have almost made subscriptions in my app work, but im only lacking one step: handling old expired subscriptions.
So whenever i test in debug, i get like 12 renewals. But if close the app and stop handling them, then i should get them all in the next app startup. This is not happening and i only get one per app open.
So, is there a way to flush expired purchase event programmatically?
Currently im using the useIAP hook and handling the currentPurchase variable change, which is working if i dont have a lot of expired purchases.
Can someone guide me into this to check if its an Apple server error to be sending just one in debug, but it doesnt happen in TestFlight nor in prod?
Beta Was this translation helpful? Give feedback.
All reactions