New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should localReceiptData be updated when a Subscription auto renews? #603
Comments
Hey, have you managed to find a way there? Was this resolved? Is simply calling fetchReceipt each time this happens a solution? |
@Reiszecke Yes, I did end up calling |
@chamitha thank you for responding. If you can take 3 more minutes of your spare time:
|
Yes,
I haven't used merchantkit.
I can't say for sure. I have since migrated to manage in app purchases server side so these issues have dropped off my radar. Sorry I can't be of more help 😞 |
Question
I am testing auto-renewing subscriptions in the Sandbox and have noticed that my
SwiftyStoreKit.completeTransactions
completion handler inAppDelegate
is invoked with apurchased
state as expected when a subscription auto renews BUT subsequently theSwiftyStoreKit.localReceiptData
property seems to not have been updated asSwiftyStoreKit.verifySubscription
returns a status of expired with the old subscription expiry date. Is this expected?Of course if I were to refresh the receipt (using either fetchReceipt or verifyReceipt with forceRefresh) the latest (renewed and active) subscription is received.
The text was updated successfully, but these errors were encountered: