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

EmptyError: failed to validate for empty purchased list #32

Closed nrkrishna closed 8 months ago

nrkrishna commented 3 years ago

Hello,

Thanks for this great package. Running into an issue where the package fails with the error: "EmptyError: failed to validate for empty purchased list" when verifying a receipt against Apple. I independently verified that the receipt issued in the call is valid by checking the receipt using curl against https://buy.itunes.apple.com/verifyReceipt.

Any ideas as to why this might be happening?

I'm using version 1.10.0. Thanks

AntoineBouquet commented 2 years ago

Did you found a solution for your problem?

nosTa1337 commented 2 years ago

@AntoineBouquet did you?

kilirushi commented 2 years ago

I am also having problems.

melounek commented 8 months ago

Also here... in the code I found mention about this issue: https://developer.apple.com/forums/thread/8954 which causes it and for time being i validate my receipts on https://buy.itunes.apple.com/verifyReceipt, but not happy with it.

ladeiko commented 8 months ago

This error i special case. You should check for this error after validation