question

zetha1982 avatar image
zetha1982 asked

Test Validate Transaction

Hi, I try to use some examples for Validate Transaction from " https://developer.amazon.com/sdk/in-app-purchasing/documentation/rvs.html" Example : https://appstore-sdk.amazon.com/version/2.0/verify/developer/xxxxxxxx/user/o2PK3XppEMmkOIU2ur6-wlpemmrSp4qyOOKmmk76pbU=/purchaseToken/2:XMwWSsmkONE0NRlbf6BtIr5t94KD4r92laK094nf9z9tQyIDOP-vuEsdl1Jy14nXxsQIa8Cwp22ZNfm18GSRnOamsrYWGlppC4rK9dnE4rlYlXhY93H004J18dCCr0kQXCm6KKJ9se9E3NC_I-Qq8pjCCuE4pk4pp330X_Vg6LLEpWBtuvYAqOVXYfcMj9268paMdPv7qo33_Mo3Dn1RNGQ==:lee5M2EtA344-paDo0DhsC== But it still return error 500. I already try to change developerSecret receive from amazon, but it still return error 500. Is here any solution how to test response of any verify purchase, because id like to create some function to verify token via .net. Thanks Message was edited by: Sujoy@Amazon Note: Please do not mention your developer secret in the forum.
fire tabletsubmission testing distribution
10 |5000

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

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Zetha1982, Thank you for your post. It seems that your purchase token is invalid. Though it's sending 500. How did you obtain this token and user id? Also, please do not post the url with your dev secret in the forum which is publicly visible. If you want you can come through ContactUs. Please mention about this thread url ( https://forums.developer.amazon.com/forums/thread.jspa?threadID=1075&tstart=0) in ContactUs.
10 |5000

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

zetha1982 avatar image
zetha1982 answered
Hi, I just use userId and purchaseToken from examples from Validate Transaction site. I though that examples is for test purpose
10 |5000

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

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Zetha1982, Thanks for the reply. The purchase token which is received in sandbox, you are not supposed to send it to RVS live box. RVS would acknowledge your request properly for live transaction tokens. Though, you could test your app with RVS in sandbox. Please go through this link, https://developer.amazon.com/sdk/in-app-purchasing/documentation/rvs.html#Sandbox
10 |5000

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