Amazon IAP
Overview
The eSuite Amazon importer reads each row and determines whether a match can be made. The service must be configured as per the Amazon specification for the renewals to be successful. To find out more, please visit the Amazon IAP Native Billing page.
The Importer has the following conditions:
- Each Amazon subscription should only appear once in the import file, any duplicates found will result in a validation failure.
- If the Amazon subscription has already been assigned to an eSuite subscription a validation failure will occur.
Amazon File Column Specification
A complete specification of the Amazon file is as follows.
| Column | Details | Description |
|---|---|---|
| KeyField | Required: Yes Format: E | C Validation: Must be one of the values above. Case: Insensitive |
E = Email C = ClientUserId |
| Required: Yes_Alt Format: Unicode string (max 255) Validation: Length, Regex Email, Is Unique Case: Insensitive. Cast to lower to persist. |
User’s email address. Must be a valid email format. If client is using eSuite as the master for user authentication, this value must be provided, and must be unique. Note that if the value provided is identical to another account's email, the importer performs an update, rather than an insert. | |
| ClientUserId | Required: Yes_Alt Format: Unicode string (max 50) Validation: Length, Is Unique Case: Upper and lower persisted. Uniqueness test will cast to lower. |
Third party system’s identifier for the user account, if eSuite is not the master for account authentication. |
| ServiceId | Required: Yes Format: Integer Validation: Is Integer?, Does Exist? |
The unique reference in eSuite HQ to the service that corresponds to the user’s subscription. (This reference must be set up in advance of the import.) |
| AmazonUserId | Required: Yes Format: Unicode string (max 500) |
ID representing a distinct Amazon customer for your appstore app. |
| AmazonReceiptId | Required: Yes Format: Unicode string (max 500) |
Unique ID for the purchase |
| AmazonProductId | Required: Yes Format: Unicode string (max 500) |
Product identifier, used for initiating product offers and purchases. |