question

playdom-developer avatar image
playdom-developer asked

RVS Sandbox setup issues.

We have installed the RVSSandbox.war file on our sever and when we hit http:// /RVSSandbox/ we are getting the message: "Receipt Verification Service Sandbox is up!" But when we try to actually validate a consumable purchase we get a 404 error. http:// /RVSSandbox/version/2.0/verify/developer/ ==/user/DefaultTestUser/purchaseToken/ Is there some other configuration required on the servers or permission required to allow the service to function properly?
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.

Dixith@Amazon avatar image
Dixith@Amazon answered
The Receipt Verification Service can be used to validate the Receipt objects received in a PurchaseResponse or PurchaseUpdateResponse. Here are some things to check: 1) Make sure you pass, as parameters: -- the purchaseToken from the Receipt found in onPurchaseResponse() -- the UserID from the ongetUserIDResponse callback -- the Developer Secret found on your Developer Portal account Hope this information helps you.
10 |5000

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

playdom-developer avatar image
playdom-developer answered
Yes we are sending all of that information. Even if they are for some reason invalid tokens we should not be getting a 404 error correct?
10 |5000

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

playdom-developer avatar image
playdom-developer answered
Found the problem on our end. It had nothing to do with the .war file, just a misconfiguration on our server.
10 |5000

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

Anshul@Amazon avatar image
Anshul@Amazon answered
@playdom_developer Good to know that the issue is been resolved now. Hope this will help other developers as well.
10 |5000

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

Shanmi avatar image
Shanmi answered
I am getting the exact same problem as mentioned at start. @playdom_developer what were the misconfigurations on your side ? Most probably i have the same issues. Would be of great help, Thanks.
10 |5000

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

Shanmi avatar image
Shanmi answered
More info : - i am using the Adobe AIR ANE to implement the IAP - the SDK Tester app returns the purchaseToken on successful purchase - the RVSSandbox.war file has been deployed on a tomcat server - on making a request from a server to the mentioned URL in the pattern, it returns a blank 404 response http://localhost:8080/RVSSandbox/version/2.0/developer/ /user/DefaultTestUser/purchaseToken/ Can anyone please point out what did i miss ? Thanks.
10 |5000

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

Shanmi avatar image
Shanmi answered
@Anshul@Amazon Can anyone from Amazon help me out in this ? Thanks
10 |5000

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

Shanmi avatar image
Shanmi answered
Sorry guys, now i see the problem. the missing method : "verify" (headbang) The actual URL should be http://localhost:8080/RVSSandbox/version/2.0/verify/developer/ user/DefaultTestUser/purchaseToken/ what i was trying was : http://localhost:8080/RVSSandbox/version/2.0/developer/ user/DefaultTestUser/purchaseToken/ My bad. Sorry for the inconvenience
10 |5000

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

Shanmi avatar image
Shanmi answered
Also, if it helps someone, if it says "No matching operation found ...... " it means no method was found in the URL and this being a GET request its obvious in the URL
10 |5000

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