Plugin - In App Purchase - Amazon

What you will learn in this chapter
Integrate In App Purchase Amazon plugin with your App
Download
Good Read - Appemble Plugin In App Purchase using Google, In App Purchase using Apple

In App Purchase plugin allows you to add purchase or subscription of products or premium features from your app. The premium features are purchased from the market place where your app is published and downloaded from. AVM supports the following market place - Apple, Google and Amazon.

Each market place has a different technical solution to complete the in-app purchase. This plugin greatly simplifies and minimizes the time it takes to integrate the in-app purchases for different market places by providing actions common actions

  • REQUEST_PURCHASE to make a purchase.
  • RESTORE_TRANSACTIONS to restore the purchase history.

Once the product gets purchased (or cancelled, subscription expired), the plugin generates an event ON_PRODUCT_PURCHASE_STATE_CHANGE. You can associate an action with this event to inform your server about this.

Market places generally support 3 types of products to be purchased

Product Type Description
Consumables It is a type of product (feature, content or services) that can be bought multiple times in an app and has a temporary affect. The market place does not track the purchase of this product. This type of product is generally consumed within the application for example fuel or coins.
Non-Consumable or Entitled Products These types of products are bought only once and provide a permanent benefit. They are available even after the app is removed and reinstalled.
Subscriptions It is a type of product (feature, content or services) that is sold from inside your app with recurring billing period for example, monthly or yearly.

Integrate In App Purchase Amazon plugin with your App