You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2026. It is now read-only.
Now that we have error messages when duplicate purchases are detected, I can show an error message along with a "Restore Purchases" button for those users. However, there seems to be no way to process the duplicate purchase. getAvailablePurchases, which handles purchases that can be restored, does not include these duplicate purchases, so it seems that even though we can now detect that a purchase is a duplicate, we can't find the duplicate or do anything with it.
The error message seems to indicate that we should use getAvailablePurchases, but that doesn't work (I can't use restorePurchase, because I need to send the the purchaseToken to the server for validation)
This occurs when I'm testing just now in Xcode, but I've also seen it when testing on Testflight - we can't go live with this issue as it would put users into a situation where they can't go any further with the app. Thanks!
Now that we have error messages when duplicate purchases are detected, I can show an error message along with a "Restore Purchases" button for those users. However, there seems to be no way to process the duplicate purchase.
getAvailablePurchases, which handles purchases that can be restored, does not include these duplicate purchases, so it seems that even though we can now detect that a purchase is a duplicate, we can't find the duplicate or do anything with it.The error message seems to indicate that we should use getAvailablePurchases, but that doesn't work (I can't use restorePurchase, because I need to send the the purchaseToken to the server for validation)

This occurs when I'm testing just now in Xcode, but I've also seen it when testing on Testflight - we can't go live with this issue as it would put users into a situation where they can't go any further with the app. Thanks!