question

Amorphous - A Times Media Company avatar image
Amorphous - A Times Media Company asked

In-app purchase testing of Adobe DPS app on Samsung Tab

Hi, we have built an android Adobe DPS app for the Amazon Store, this app will sell issues of a magazine published monthly. DPS generates the app itself, and this app pulls in the in-app purchases set up in Amazon Developer. We've built the app and created 6 in-app purchases ( 4 magazines, and 2 subscriptions) The app pulls in the thumbnails for the magazines perfectly, but not the prices, and we dont get subscriptions information either. The error we get from Adobe DPS' API is: adobeDPS-FolioState.UNAVAILABLE Value: 50 Folio is not available from the broker. So we are obviously not connecting to Amazon properly. Our DPS magazines' product names correlate with the in-app purchase names in Amazon Developer. And we've loaded a json file to the route of the Samsung devide. We have debugging enabled on the device, and the Amazon App Tester installed on the device. We are struggling to find documentation for setting this is up on a Sumsung because obviously most documentation for Amazon App Store dev is for Kindle. (And Adobe dont offer support for Amazon App Store dev for DPS) We were wondering if any app builders have successfully tested in-app purchases in an Amazon Appstore app on a Samsung Tab, possibly with a DPS app? Its a long shot but we are REALLY stuck! Please help. Thank you, Vauneen
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.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Vauneen, May we know which IAP SDK or plugin you are using in your app? The supported Adobe technologies are Air fir IAP. You should be able to find the required documentation in below page. https://developer.amazon.com/public/apis/earn/in-app-purchasing/IAP+Adobe+Plugin Our IAP SDK does not show an error like " 50 Folio is not available from the broker.". Please provide the details in order to get better resolution. Thanks.
10 |5000

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

Amorphous - A Times Media Company avatar image
Amorphous - A Times Media Company answered
Thanks so much for your response. And yes, i believe thats the SDK that Adobe DPS uses. (i've mailed them to confirm) but presuming this is the case, would this process result in a successful test? - place the json file generated on the Amazon Developer site in the root folder of the samsung tab (there is a folder on the tab called root - i wonder if this is in fact the root of the tab) - install the app being tested - install the app called Amazon App Tester - turn on debugging on the Samsung Should this be enough (presuming the code in the app is written properly) to allow the actual products to pull through for testing? Is there other configuring i should do first? (yes, the error is definitely generated by the Adobe code and not an Amazon error - but it does make me think my issue is with connecting the product list to the app) Thanks, Vauneen
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 Vauneen, 1. You should place the json file in /mnt/sdcard folder which is supposed to be treated as root. 2. You should install SDK tester app that is shipped with SDK zip. Apps-SDK.zip\Android\InAppPurchasing\tools\AmazonSDKTester.apk
10 |5000

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

Amorphous - A Times Media Company avatar image
Amorphous - A Times Media Company answered
thanks for the prompt response. 1. the Samsung doesnt have a folder called mnt/sdcard - thats why i'm asking. i think this is usually done on a kindle, but we need to do it on a Samsung tablet. Do you perhaps know where we should be putting the json file on a Samsung? 2. great, thats exactly the app we installed V
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
/mnt/sdcard should be the first folder you see after you open it from explorer. Can you see /sdcard? Please refer below documentation for further information. https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs/testing-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.