-
Notifications
You must be signed in to change notification settings - Fork 25
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
Basic question: Why is "latest_receipt_info" an Array? What is "receipt" for? #13
Comments
Okay, so what is going on here exactly? (I looped through @sibelius In your example https://github.com/chirag04/react-native-in-app-utils#monthly-subscriptions you mentioned It seems like you really want the last one though? |
hm, that makes sense do you mind sending a PR fixing this? tks for taking a look on this |
I've been wondering the same here. Are each of these indexes different purchases? They seem like the same product. When a purchase is made, the receipt from the purchase needs to be stored somewhere and that is what you send to this validator, correct? Trying to wrap my head around this process. |
These are the docs for the receipt fields > https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html |
just to check the subscription was activated( legal or worked ) in old past time when the user had stoppted a duration, and then renewed latter. For example, if a user subscript in Jan, and lapsed in Feb, and renewed in March. So return a array. We can get the check it is current according to 'latest_receipt' & 'latest_receipt_info' |
can we close this? |
For
latest_receipt_info
should I just always takelatest_receipt_info[0]
?What exactly, is
receipt
? It hasoriginal_purchase_date
, etc. in 2013, which confuses me.Additionally, what is
receipt.request_date
? It's the date of what request? The verification request? So it's like alast_verified_at
?If the user cancels, will there be
cancellation_field
?The text was updated successfully, but these errors were encountered: