Post

Replies

Boosts

Views

Activity

Renewal transactions not arriving on device?
I am trying to implement an auto-renewable subscription for the first time and I'm having so much trouble with erratic behaviour from the Sandbox environment that at this point, I'm not sure if the behaviour I'm expecting is correct or not. I can't seem to get two tests in a row to behave the same way.I'm registering an SKPaymentTransactionObserver observer ASAP on startup, I can create a subscription and it arrives properly (after several retries but lets ignore that for the moment), then I wait 5-6 minutes expecting that some background process will add a renewal transaction to my SKPaymentQueue before the expiry time of the subscription.If I then restart my app, sometimes (but not always), the renewal transaction will be delivered to my SKPaymentTransactionObserver after the restart and the subscription then works correctly until the next expiry.At that point, restoring purchases usually works, but that's not been reliable either because of frequent errors just connecting to the App Store.So what's the story here? Have I missed some step somewhere to get those renewals delivered to the device?
12
0
2.8k
Apr ’20