Search code examples
androidin-app-purchaseamazon-fire-tv

Amazon Fire (TV) In-app Purchase: Subscription


I am currently working on a test app for Amazon's In-App Purchasing SDK for Android. Specifically, I am working on Fire TV, but the problems also seems to appear on a Fire Tablet.

I created a (currently unpublished) App on my Developer account and added a subscription with both an annual and a monthly option.

Here is the exported JSON:

{
    "inapppurchasingtestabo.monthly": {
        "price": 1.07,
        "subscriptionParent": "inapppurchasingtestabo",
        "smallIconUrl": "http://",
        "title": "Subscription",
        "itemType": "SUBSCRIPTION",
        "description": "This is the subscription!",
        "languageTitleMap": {
            "DE": "Abo",
            "US": "Subscription"
        },
        "languageDescriptionMap": {
            "DE": "Das ist das Abo!",
            "US": "This is the subscription!"
        },
        "currencyPriceMap": {
            "US": 0.0
        }
    },
    "inapppurchasingtestabo.annually": {
        "price": 10.72,
        "subscriptionParent": "inapppurchasingtestabo",
        "smallIconUrl": "http://",
        "title": "Subscription",
        "itemType": "SUBSCRIPTION",
        "description": "This is the subscription!",
        "languageTitleMap": {
            "DE": "Abo",
            "US": "Subscription"
        },
        "languageDescriptionMap": {
            "DE": "Das ist das Abo!",
            "US": "This is the subscription!"
        },
        "currencyPriceMap": {
            "US": 0.0
        }
    }
}

I installed the Amazon App Tester App on the device and copied the JSON to /mnt/sdcard/amazon.sdktester.json.

While everything seems to work in principle - from the app I can see the subscription along with the available prices, the descriptions, etc. and I can also make a purchase which then shows up in the App Tester App - I see no indication as to which price is for which subscription period.

Compare the following screenshots:

enter image description here

enter image description here

Can you tell which price is for the monthly and which is for the annual subscription? (Also, keep in mind, that for all the user knows, they could be bi-weekly and semi-annual, too).

So my question is: What am I doing wrong and how do I get the purchase dialog to display the period along with the price?


Solution

  • This is likely a bug or limitation with the Amazon App Tester app. From my experience, it does not fully replicate the production environment. It's useful for testing the basic workflow locally.

    I would recommend you to use Live App Testing which allows you to test in the production environment.