An in-app-billing extension to monetize your app products using Amazon store billing library 3.0.3.
The In-App Purchasing (IAP) API allows your app to present, process, and fulfill purchases of digital content and subscriptions within your app. Amazon supports an IAP API for Android Apps.
This public key, which is unique per app, establishes a secure communication channel between the Amazon Appstore and your app. When you generate the public key from the Developer Console, Amazon generates a corresponding private key. These public and private keys form a key pair to sign license responses. Through this key pairing, you ensure that the users who install your app are authorized.
To configure your existing app with the public key:
-
Log into the Developer Console with your developer account.
-
Go to Apps & Services > My Apps . Then click your app. (If you don't already have an app, see Log In and Add an App.)
-
Create a new version of your app. In the area below your app's name, click Upcoming Version .
-
Go to the App Information tab.
-
Click Public Key in the upper-right area.
-
In the Public Key dialog box that appears, click the AppstoreAuthenticationKey.pem link to download a PEM file. This file contains your public key.
- Copy the AppstoreAuthenticationKey.pem file. Then paste it into the assets folder of your builder.
ℹ️ Note: If you integrate your app with Login with Amazon (LwA) or Amazon Device Messaging (ADM), you need to add your app's API Keys. Appstore SDK integrated apps do not add API Keys automatically. You need to manage the API Key and see LwA and ADM documentation for more details. You can find your AppStore certificate hash values in the Developer Console to create the API keys for the existing apps. Go to My apps > select your app > App Information > Appstore Certificate Hashes .
Initiates a request to retrieve the license of the currently logged-in user.
When the response is available LicenseVerified
event will be called.
Initiates a request to retrieve the user ID of the currently logged-in user.
GotUserData
event will be called when a response is available.
Initiates a request to retrieve updates about items the customer has purchased and/or canceled.
reset
- Set to true to get a list of all purchases. Set to false to get a list of all purchases made since the last invocation.
When a response is available GotPurchaseUpdates
event will be called.
Initiates a request to retrieve item data of up to one-hundred SKUs.
skuList
- List of SKUs. If the size of the list is greater than 100, an IllegalArgumentException
is thrown.
When a response is available, GotProductsData
event will be called.
Initiates a purchase-flow for a product.
sku
- Vendor SKU for which to initiate a purchase.
When the purchase-flow completes PurchaseSuccessful
event will be called.
Notifies Amazon about the purchase fulfillment. There is no callback for this API.
receiptId
- Receipt id of the purchase.
Notifies Amazon about the purchase fulfillment. There is no callback for this API.
receiptId
- Receipt id of the purchase.
com.jewel.amazoninappbilling.aix (411 KB)
Price: $12 USD
SDK Version: 3.0.3
Extension Version: 3.0.3.1
Last amendment: 25 October 2022
Supported builder: Kodular, Niotron, AppZard, AndroidBuilder, App Inventor and it's other distributions.