question

zetha82 avatar image
zetha82 asked

Get all purchases for current product

Hi everyone, Im so new in amazon store. I have two questions. 1. It is possible to get list of all purchases for current product in AS without using any Java code. I mean if it is possible to call some service (same like during verify). I use only .net, java is for me very new and I dont have time to study java implementation. 2. I check validate transaction and its not so clear for me about purchase Token. It is possible to see what exactly is inside taht token. I mean productname, expirationDate, quantity, price, currency, from which country it was ordered? Please can you help me? thank you
iap
10 |5000 characters needed characters left characters exceeded

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 Zetha82, Thank you for post. Below are the answers of the questions you have asked. 1. You can see the total purchase count of your app in the app settings in the developer portal. There is no server side solution available to get the install logs of a particular app in Amazon store. 2. We hide purchase item info inside the purchase token to be validated with secure server to server communication. The item information is not exposed to external world from purchase token. You must keep track of details of the IAP items inside your app (client+server) and you should use purchase token only to validate the purchase securely.
10 |5000 characters needed characters left characters exceeded

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

zetha82 avatar image
zetha82 answered
Hi Sujoy, thank you for your response. It means without implementation of java libraries I cant see what is inside purchaseToken? We already work with Google Play and for synchronize orders from GP we use their .net dll to receive all orders to our system . We want to use same concept in case of amazon store but for this one we need to work with java?
10 |5000 characters needed characters left characters exceeded

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 Zetha82, Thank you for the post. Actually, you can not extract product info (e.g. name, expiration date, price, quantity etc) neither in java nor .net from purchase token. We hide purchase item info inside the purchase token to be validated only with secure communication from your app server to our Amazon IAP server and the item information is not exposed to external world from purchase token. Also, there is no api exposed from Amazon IAP server to sync the orders with third party app server. If you have further question on this please raise a contactUs, one of our support Engineer would assist you shortly.
10 |5000 characters needed characters left characters exceeded

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