question

quangsang avatar image
quangsang asked

RVS sandbox 403 error

Hi there, I followed the instruction from this link : https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/verifying-receipts-in-iap-2.0#Setting up RVS to set up the RVS sandbox server. I got the "Receipt Verification Service Sandbox is up!" to show up as well as the example RVS sandbox to return the json response when entering it on the browser. However when I tried to httpRequest the same url using Parse SDK to the RVS sandbox server, it gives me 403 response error. So basically, I am not authorized to access that url. Any idea how to set it up so that Parse cloud code can make a httprequest to RVS sandbox server and come back with json response so we can test in app purchase on Amazon before we submit the build? Thanks for your help.
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Nick Gardner avatar image
Nick Gardner answered
Hi, Seems like what you'd need to do here is make sure the IP for the local sandbox server is remotely accessible. Since the sandbox generally runs on localhost:8080, remote connections will not be allowed, and that is likely why your remote server is getting the 403 error when trying to connect. -Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.