question

Tester Three avatar image
Tester Three asked

GetProductDataResponse is empty in IAP v2 Unity plugin

Hello! I implemented IAP v2 as in documentation ( https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/using-the-iap-plugin-for-unity), I have installed last App Tester from store and I have amazon.sdktester.json file in root of sd-card. _iapService.GetUserData() working well and return correct data of selected user in App Tester. But if I call _iapService.GetProductData(request); where request have all of available skus, I received answer with correct status and requestId but ProductDataMap and UnavailableSkus is empty. Can anyone explain what is problem?
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.

Tester Three avatar image
Tester Three answered
Sorry, maybe need more information about implementation or something else? If it's a local problem, but in live all will be work correctly, so I should not worry. Please, help me. Thx.
10 |5000

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

Nick Gardner avatar image
Nick Gardner answered
Hi, I would suggest trying live app testing to see if this is a local issue. https://developer.amazon.com/public/resources/development-tools/live-app-testing You can use this to make sure there aren't any issues with your local configuration. Based on what you've said, the most likely issue is a mismatch between what is in the sdktester.json file and what skus your app is looking for. Thanks, 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.