as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

Vega IAP Testing

Verify all IAP items are listed in the app

Test steps

  1. Must be logged in with a valid Amazon account
  2. Launch the app on the device
  3. Navigate to IAP section
  4. Browse the available IAP options

Expected results

IAP items are displayed correctly with accurate pricing and description. No UI errors

Verify purchase flow on Fire TV

Test steps

  1. Must be logged in with a valid Amazon account
  2. Launch the app on the device
  3. Navigate to IAP section
  4. Select the IAP item
  5. Proceed to purchase
  6. Authenticate

Expected results

The purchase should be successful, and a confirmation screen should appear.

Verify purchase success and correct item unlocks in the app

Test steps

  1. Must first have made a successful IAP purchase
  2. Open the app
  3. Navigate to Settings/Subscription page.
  4. Verify the item is unlocked and the customer is entitled for the content

Expected results

Purchased item is available for use (feature/content is unlocked).

Verify NotifyFulfillment API is called after successful purchase

Test steps

  1. Must first have made a successful IAP purchase
  2. Call the notifyFulfillment API (fulfilled/unavailable)
  3. Check on your side if the notifyFullfment API was called

Expected results

notifyFulfillment API is triggered with purchase status and successful and valid transaction/receipt ID.

Verify getPurchaseUpdates() API returns correct status for successful purchase

Test steps

  1. Must first have made a successful IAP purchase
  2. Monitor API calls.
  3. Verify getPurchaseUpadates is triggered

Expected results

getPurchaseUpdates() is triggered and it has valid receipt ID in the response.

Verify purchase failure due to network issue

Test steps

  1. Launch the app on the device
  2. Navigate to IAP section
  3. Start the purchase
  4. Disconnect/Disable the network before confirming the purchase

Expected results

The customer should not be entitled for that subscription in the app.

Verify IAP purchase failure due to insufficient funds

Test steps

  1. Must have invalid payment methods or insufficient funds
  2. Launch the app
  3. Navigate to IAP section
  4. Start the purchase with account having insufficient funds or invalid payment method
  5. Observe

Expected results

No subscription should be created.

Verify IAP cancellation during purchase process

Test steps

  1. Must be in the middle of an IAP purchase
  2. Launch the app
  3. Navigate to IAP item to be purchase
  4. Start the purchase
  5. Cancel the ongoing purchase before confirming

Expected results

No Subscription should be created.

Verify Back button

Test steps

  1. Launch the app and navigate to IAP item to be purchased
  2. Start the purchase
  3. Once the purchase completes, press back button and relaunch the app

Expected results

The purchase should be retained, and the item should be available.

Verify Home button

Test steps

  1. Launch the app and navigate to IAP item to be purchased
  2. Start the purchase
  3. Once the purchase completes, press the Home button
  4. Relaunch the app

Expected results

The purchase should be retained, and the item should be available.

Verify clear data

Test steps

  1. Launch the app and navigate to the IAP item to be purchased
  2. Start the purchase
  3. Once the purchase completes, exit the app
  4. Go to settings and clear app and Appstore data
  5. Relaunch the app

Expected results

The purchase should be retained, and the item should be available.

No multiple or concurrent IAP transactions

Test steps

Prerequisite:

  • The app should be installed and should be in the plan picker page on both devices
  • The 3P app and Amazon device should be signed-in using the same credentials

Device 1:

  • Complete the purchase and check the status of the purchase. It should be fulfilled

Device 2:

  • Attempt to purchase the same subscription from the device

Expected results

The second purchase should not go through since the app accounts are the same. Verify multiple or concurrent IAP transactions.

Multiple or concurrent IAP transactions

Test steps

Prerequisite:

  • The app should be installed and should be in the plan picker page on both devices
  • The Amazon device should be signed-in using the different credentials

Device 1:

  • Complete the purchase and check the status of the purchase. It should be fulfilled

Device 2:

  • Attempt to purchase the same subscription from the device

Expected results

The second purchase should go through since the app accounts being used are the different.

Verify IAP transactions are logged in amazon account

Test steps

  1. Complete the IAP purchase
  2. Log in to the Amazon account
  3. Check transaction history

Expected results

The customer should see the purchases in their subscriptions/orders page.

modifySubscriptions – upgrade (if applicable)

Test steps

  1. Complete an IAP Purchase
  2. Launch the app
  3. Navigate to the plan picker page
  4. Switch to a different plan present in the plan picker page

Expected results

Plan should switch immediately to the upgraded plan. Verify the receipt response for this. It should contain, two receipts: one cancelled, and one active.

modifySubscriptions – downgrade (if applicable)

Test steps

  1. Complete an IAP Purchase
  2. Launch the app
  3. Navigate to the plan picker page
  4. Switch to a different plan present in the plan picker page (likely to a lower tier)

Expected results

This is a deferred switch to the downgraded plan. Verify the receipt response for this. It should contain two receipts (if immediate): one cancelled, and one active. If deferred, the auto-renewal is turned off and the selected, downgraded plan begins at the end of the current billing cycle.

Verify renewals

Test steps

  1. Enable Accelerated renewals for the subscription
  2. Observe if the renewals occur at the desired intervals
  3. Check the new receipt, order ID, and subscription ID

Expected results

You should see renewals occur in accelerated mode.

For more information, see Accelerated Subscriptions Introduction.


Last updated: Sep 30, 2025