question

kartik123 avatar image
kartik123 asked

IAP Testing and implementation

Hi All, I am trying to implement the amazon in-app purchase using the ane provided by amazon. While implementing it i am not able to get the products from the server i am using the demo example(have changed the product ids) provided by amazon. Do i have to add application key before starting inapp purchase?(I am testing it on google nexus 7). Regards, Kartik
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.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Kartik, Thank you for posting. You are supposed to use sand box for testing any IAP implementation. To do that you should refer below link, https://developer.amazon.com/sdk/in-app-purchasing/documentation/testing-iap.html You can not directly fetch the product what you are defining in the app setting in portal before you publish the app in Amazon App Store. Instead, you could put all product data in the json file (as described in above link) and after having sdkTester installed in the device, you should be able to test the complete purchase flow.
10 |5000

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