-
Notifications
You must be signed in to change notification settings - Fork 288
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
Cancellation flag is not checked for Apple Receipts #61
Comments
Hello Thank you for reaching out! Would you mind sharing the property that needs to be checked for this so I can implement it? Cheers On Aug 9, 2016, 21:39 +0900, Florian Lettner notifications@github.com, wrote:
|
Here's the explanation taken from Apple's web site:
The field is named cancellation_date |
Awesome! Cheers On Aug 9, 2016, 21:47 +0900, Florian Lettner notifications@github.com, wrote:
|
I have implemented this in develop branch I will be running more tests before merging it to master and publish on npm |
Any update on returning apple cancellation_date field? I see it referenced in the apple.js file but it does not appear to be used at all. |
Hello My apologies for the long wait. Cheers |
cancellation_date field is now being read by the module. Closing |
If a subscription is cancelled by the user or if the payment process fails a cancellation date is added to the receipt by the apple server. This flag is currently not checked by your implementation. So the module will return false when calling isExpired() even though the receipt was cancelled and is no longer valid.
The text was updated successfully, but these errors were encountered: