ladeiko / node-apple-receipt-verify

A Node.js module for In-App-Purchase receipt validation for iOS.
MIT License
92 stars 25 forks source link

Not getting latest data in valid response for some receipts. #9

Closed alexstanbury closed 5 years ago

alexstanbury commented 6 years ago

For some of the receipts we are verifying there is no data response returned - just an empty array - whilst other receive this data fine. All of these receipts are valid auto-renewing subscriptions and are not returning an error.

I queried the receipts that were not returning data directly with Apple's receipt API and there is indeed a latest_receipt_info field which I presume you should be using to pass back as the response.

ladeiko commented 6 years ago

Hi. Please describe the problem with details

ladeiko commented 6 years ago

Try to set 'ignoreExpired' to false (it's true by default)