This article was re-printed with permission from Amazon Digital Services, Inc.
The Amazon In-App Purchasing API makes it easy for you to offer digital content and subscriptions —such as in-game currency, expansion packs, upgrades, magazine issues and more— for purchase within your apps. Within minutes you can be up and running, ready to give millions of Amazon customers the ability to purchase engaging digital content using their Amazon 1-Click settings.
The In-App Purchase API is designed to encapsulate the complexity behind the purchase process while still providing a fully featured API set. The API utilizes the following objects in completing In-App Purchasing transactions:
- Purchasing Manager – used to initiate API requests
- Purchasing Observer – handles the API response callbacks
- Response Receiver – facilitates callbacks from the Amazon Client to the Purchasing Observer
- Receipt Verification Service – optional service for validating receipts outside of your app
The following diagram outlines the steps involved in the purchase sequence:
Fig. 1: In-App Purchasing API
The simplest implementation can be completed in the following 5 steps.