question

Raju Rao avatar image
Raju Rao asked

IAP 2.0 getProductData returning blank

Hello, After successfully linking my app to Google Play, I now wish to port the same to the Amazon Store. I have integrated the IAP 2.0 as per the documentation on the developer.amazon.com site and all seems fine except when I wish to test. My test is on a Nexus 7 which does not have a SD card slot. I tried using DDMS/File Explorer to move the amazon.sdktester.json file to the mnt/sdcard directory (which it shows) but nothing happens. On the Device though the json file is moved to the main storage. When I call the getProductData method after passing the SKUs I get the response below. response(com.amazon.device.iap.model.ProductDataResponse@4296b568, requestId: "d25f8de8-eb6c-4462-875e-c5789ab45c2c", unavailableSkus: [], requestStatus: "SUCCESSFUL", productData: {}) Any suggestion on what I am doing wrong. Thanks,
fire tablet
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

Raju Rao avatar image
Raju Rao answered
It has worked now. I had set the API Response Settings to "SUCCESSFUL" in the Amazon App Tester App. I changed it to DEFAULT and it worked!
10 |5000

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