-
Notifications
You must be signed in to change notification settings - Fork 797
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
Always get "Restore Failed" #140
Comments
@chaocharleswang I have just observed this as well when using a production Apple ID on one of my apps. Some debugging revealed that the Following that, SwiftyStoreKit reports an unhandled transaction on the payment queue, but by the time this is received the callback has already returned. This then caught on the next app launch when I have however tried the SwiftyStoreKit demo app with a sandbox user:
Some guesses:
I'll keep investigating this. Also please let me know if you have updates. |
i have same problem... |
I can't reproduce this. As a side note, I recently discovered that Apple recommends using the receipt to find purchased products, rather than restoring purchases directly. See my answer here #207. Maybe you could try to implement this with receipt verification instead? |
Platform
In app purchase type
Environment
Version
0.8.0
I always get "Restore Failed" message when restoring purchases.
SKError(_nsError: Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store})
When I purchase again, I need "Sign In to iTunes Store".
Is it possible to pop up "Sign In to iTunes Store" dialog when restoring purchases?
Thanks!
The text was updated successfully, but these errors were encountered: