question

swimmmer avatar image
swimmmer asked

interstitial dialogs

In the IAP documentation it states that our apps should not show interstitial dialogs for purchase flow. However, it is not clear from the documentation whether Amazon shows dialogs when the purchase fails (e.g. if the user closes the purchase dialog without attempting to purchase) or an SKU is invalid - is it the app's responsibility to show dialogs for these eventualities or do Amazon do this? With the SDK tester, no dialogs are shown for these cases (the SDK Tester just returns the appropriate result - i.e. INVALID_SKU or FAILED), but the documentation states that the SDK tester doesn't show all dialogs anyway (but doesn't list which dialogs it doesn't show). If it is the app's responsibility to show dialogs for these cases then what should the text of the dialog be in the case where the user closes the purchase dialog without attempting to make a purchase - i.e. we can't show "Purchase failed"
iap
10 |5000 characters needed characters left characters exceeded

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

1 Answer

Bipin@Amazon avatar image
Bipin@Amazon answered
The SDK Tester does not show all the interstitial dialogs that are presented by the Amazon Client. For example, the SDK Tester does not show "busy" dialogs, and does not show a dialog that allows the user to select a subscription term before purchase of a subscription. (subscription purchases in the SDK Tester should be made using the term SKU). The purchase flow and user interaction is completely handle from the amazon API. Yes, its not the app responsibility to show any dialogs for purchase flow. And application should continue on the logic from the call back exposed by the IAP api's. For testing IAP , you can launch SDK tester and modify the preference for interactive mode and test your app. for details: https://developer.amazon.com/sdk/in-app-purchasing/documentation/testing-iap.html#Test%20Cases
10 |5000 characters needed characters left characters exceeded

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