voltrue2 / in-app-purchase

A Node.js module for in-App-Purchase for iOS, Android, Amazon and Windows.
http://iap.gracenode.org
Other
1.04k stars 287 forks source link

iap.validate(receipt) stopped going to onSuccess #297

Open tlynchlaw opened 4 years ago

tlynchlaw commented 4 years ago

I'm validating receipts for Apple's IAP.

I have been testing all day and did not change my code that validates the receipt and goes to onSuccess. I was working with other code to retrieve information from purchaseData. But now I no longer get to onSuccess and I don't get to onError either.

The in-app purchase works fine on the device, but the receipt checking seems to be very slow now. I get status 200 when sending the receipt. But I used to get validation response and validation successful right after one another. Now I get validation response about 2 minutes after sending, and the method fails almost immediately. Could it be I am testing too much and Apple's sandbox is rejecting my receipts?