-
-
Notifications
You must be signed in to change notification settings - Fork 648
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
How to manage subscribed users? #862
Comments
There is related post in react-native-iap repo. The idea is, you should check the |
@hyochan I read the whole thread and see they are having my same issues. |
I have another issue that might be stupid but is driving me nuts. I read the related post and I am implementing the posted method to get to know if the user is a paying user:
However, the following method is not working for me. I am working on
I don't know what to do. I made a Sandbox user and tried signing in with those credentials as well and it didn't work. Do you have any idea or hint why this is not working? Thank you for your time and patience!! |
The Also, try out for |
I did agree to the new I reset the iPhone Simulator with no user signed-in in the You should be able to test on a simulator right? When I press to actually make the purchase of a sub it instantly throws the following error (When I was expecting the prompt to Sign-in into iTunes):
This is also a new sandbox user since I read that trying to log in with an account into your iPhone will reject said account. |
Have you logged into the Sandbox on iTunes account? https://developer.apple.com/apple-pay/sandbox-testing/ |
I had to test it on an iPhone and not the simulator. Apparently, it has worked before but on iOS 12.4 you cant test IAP in the Simulator. |
@wmonecke // The time Apple customer support canceled a transaction
// in a date-time format similar to the ISO 8601. This field is only present for refunded transactions.
const nonCancelledReceiptsInfo: = latestReceiptInfo.filter(
receipt => !receipt.cancellation_date
); |
Hi!
I am having a bit of trouble planning how the flow of the information should be.
How can I know if my user has paid for a subscription and would this method work offline?
Should I always check the result of said method to update the apps state to a premium version or how should I go about it? Sorry if the question is a bit broad. Any help is welcome.
The text was updated successfully, but these errors were encountered: