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
Buying the same product twice will give an error #131
Comments
Is the product consumable or non-consumable? |
@JJMoon consumable. |
latest v0.3.15 will give you the |
After the update to 0.3.15 the issue disappeared on iOS. |
Good to hear that! |
Version of react-native-iap
0.3.13
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
Expected to buy a product without an issues
Actual behavior
First time I buy a product_A on a "new" device - it works.
Second time I try to buy the same product_A (no matter if I restart the app or not)
will not work. The error message is: "An unknown or unexpected error has occurred. Please try again later."
Steps to reprodue the behabior
1.Implement IAP as in ReadME. Try to buy an item with this code:
Just in case I have this code in my componentDidMount() and componentWillUnmount():
2.First buy works ok. Try to buy same product once again
Get an alert with ""An unknown or unexpected error has occurred. Please try again later."
The text was updated successfully, but these errors were encountered: