Valery Vaskabovich

Results comments of Valery Vaskabovich

Yep, but I'm not sure that I'm in the position to send real productIdentifier and related info like appId in public. May I change it for now to some random...

I assume the problem is somewhere inside getFileForProductIdentifier because: 1. If you enable NODE_ENV=test, the request will also fail with the same timeout error. 2. If you send invalid productIdentifier/receipt...

I made some debugging and my results are: 1. The issue is related to validating SANDBOX receipt, and receipt is missing when passing to `validateWithAppStore(IAP_SANDBOX_URL)`. Correct call will be `validateWithAppStore(IAP_SANDBOX_URL,...

@flovilmart I'll try but I'm not a NodeJS developer :)

Yes, that's right. But after the second request to sandbox neither https://github.com/ParsePlatform/parse-server/blob/master/src/Routers/IAPValidationRouter.js#L87 nor https://github.com/ParsePlatform/parse-server/blob/master/src/Routers/IAPValidationRouter.js#L89 isn't called

Yep. I had to implement inner promise callbacks to Sandbox request to start getting file

Now I have something like this which is working (as it seems to me): ` ``` function successCallback() { return getFileForProductIdentifier(productIdentifier, req); }; function errorCallback(error) { return Promise.resolve({response: appStoreError(error.status) });...

Here is my changes https://github.com/valeryvoskobovich/parse-server/commit/a91d9135b8bf1b10556eb2829dc0c7fc8ad66394

@flovilmart my PR is ready, waiting for your comments

@flovilmart Could you make a new parse-server release with my fix?