-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
Improving error messages / documentation regarding error messages #358
Comments
Hi. Thank you for the issue! Are you aware that linking native modules are not yet supported by |
@hyochan Of course. As I mentioned I'm using this library in production. It's a detached Expo project. This is an issue of (1) documentation and (2) information exposed by the error messages of the library. The two errors I mention above are flooding my logs in production as of now. I'm not sure whether to be worried or not - since I believe both errors are most often the result of a initiated purchase that the user cancels. What I'd like to know is (and this would be great to have in the documentation) what errors to expect, and what those errors mean. And I'm thinking also the implementation of information attached to the errors could be improved. To give you some perspective I have 1285 started subscriptions, 450 "Could not connect to iTunes Store" and 100 "Cancelled" (on Android). |
I'm seeing a similar issue. I am selling a subscription and I was able to test it successfully on my own device with my real account and with sandbox users. However, I'm noticing that a large number of my international users are failing to complete the transaction. All I see is a CANCELLED error message. Strangely, I see the error message multiple times. For instance, some users will press purchase 4 times in a row and are not able to complete the transaction. I can't figure out if they are just confused or if it's breaking. |
@noahhayes Thanks for the re-issue. I'll reference your issue #412 since this is related. |
Let's handle this continuously in #412. |
Version of react-native-iap
2.3.26
Version of react-native
0.57 (Expo 31)
Platforms you faced the error (IOS or Android or both?)
Both
Expected behavior
I'd like to be able to discern between potentially critical errors and errors that are just because users canceled the purchase. This could be both a matter of improving documentation and maybe improving the error messages exposed by react-native-iap.
Actual behavior
On both platforms I essentially get one single message no matter what seems to "fail" during the payment. I get:
"Canceled." (Android)
"Kan inte ansluta till iTunes Store" (iOS, Swedish for "Could not connect to iTunes Store")
Tested environment (Emulator? Real Device?)
In production on real devices.
Steps to reproduce the behavior
Seems to be triggered for example when initiating a purchase that the user cancels.
The text was updated successfully, but these errors were encountered: