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
Cannot connect to iTunes Store for sandbox users #277
Comments
I think it is an old link. https://developer.apple.com/system-status/ |
@raynor85 Are you still facing this issue? |
@dooboolab I’m still facing the issue, but I think it is an Apple problem. I have tried to purchase a product with my personal Apple ID user (which has been previously used for real purchases), and I was able to get a successful response after executing |
@dooboolab can you help me with that? Is there a reason why with a real apple ID I was able to successfully purchase a consumable without being charged, but |
@raynor85 Did you connect the transaction result to your server ? |
@dooboolab I have tried using both
As you might have noticed, |
@raynor85 Actually, I don't know why this is happening. I might have to try this out in near future. Also, did you try to test this through the test flight? If you haven't upload the app to |
I haven't tried to upload the app on testFlight, because I'd like to have a dev version to work with before potentially upload a broken beta build. Maybe codepush could be handy in this case. Anyway, can you please explain the meaning of |
Also, what about |
|
Also, please try |
Get originalJson in Android as a transanctionReceipt for validation #277.
Figured it out, I wasn't calling the "finishTransaction()" so i was stuck in a loop on my sandbox test account "Purchase was successful" but didn't not fully process on Apple's side they called it a dead loop. |
This thread got a bit off track, but I'm seeing the same original error when running the app through xcode on my device with a sandbox account ( |
A note from apple in relation to this error: https://developer.apple.com/library/archive/technotes/tn2413/_index.html#//apple_ref/doc/uid/DTS40016228-CH1-ERROR_MESSAGES-CANNOT_CONNECT_TO_ITUNES_STORE I think in my case, I get this error when attempting to subscribe to a product when I'm already subscribed to it. It also appears to come up when I'm subscribed and attempting to change my subscription (by initiating a new |
For anyone else stumbling onto issue, also note "Your app is running in the Simulator, which does not support in-app purchase." is another reason that you may get this error. Must do this on a real device. |
So, what are you supposed to do in this case? How do I know if the product was actually purchased by user?.. I tried restoring purchases, but nothing seems to change |
Version of react-native-iap
2.2.2
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
await RNIap.buyProduct(MIXED_PACK);
should not failActual behavior
I get the error
Cannot connect to iTunes Store
even if I use a sandbox userTested environment (Emulator? Real Device?)
Real device, iPad and iPhone 7
Steps to reproduce the behavior
Just try to run that piece of code. I have read thoroughly the Blog to create a sandbox environment here https://medium.com/@dooboolab/react-native-in-app-purchase-121622d26b67
The text was updated successfully, but these errors were encountered: