| Did this page help you? Yes No Tell us about it... |
The details in the notification describe the payment information and the sender information for the transaction. The tables in the following sections show the values included in the payment information, which vary depending on the exact nature of the transaction.
The following IPN response elements are returned for standard and donation transactions, and for any other transaction that generates IPNs and is not specifically covered here.
Topics
These response elements are common to all transactions.
| Name | Description | |||
|---|---|---|---|---|
addressFullName |
Full name of the buyer/sender. Type: String | |||
|
|
Sender's address (first line). For IPN, this element is returned only if the value has been updated with Amazon. Type: String | |||
|
|
Sender's address (second line). For IPN, this element is returned only if the value has been updated with Amazon. Type: String | |||
addressState |
Sender's state. For IPN, this element is returned only if the value has been updated with Amazon. Type: String | |||
addressZip |
Sender's post code. For IPN, this element is returned only if the value has been updated with Amazon. Type: String | |||
addressCountry |
Sender's country. For IPN, this element is returned only if the value has been updated with Amazon. Type: String | |||
addressPhone |
Sender's phone number. For IPN, this element is returned only if the value has been updated with Amazon. Type: String | |||
|
|
Sender's email address.
Type: String Size: 65 bytes | |||
|
|
Sender's name. Type: String Size: 128 bytes | |||
|
|
A url specifying the location of the certificate used for signing the response. Type: String Max Size: 1024 bytes | |||
customerEmail |
Customer's email address. Type: String Size: 65 bytes | |||
customerName |
Buyer/Sender Full Name. Type: String Size: 128 bytes | |||
dateInstalled |
If the Type: String Size: 30 bytes | |||
isShippingAddressProvided |
If the IPN results include address updates, this element contains TRUE. Otherwise this element is not present in the response. Type: String | |||
|
|
The payment operation for this transaction. Type: String Max Size: 20 bytes | |||
notificationType |
Notification type may be either Type: String Size: 20 bytes | |||
|
|
The payment method used by the sender. Type: String Size: 20 bytes | |||
|
|
Reason for payment. Type: String | |||
|
|
Recipient's email address.
Type: String Size: 65 bytes | |||
|
|
Recipient's name. Type: String Size: 128 bytes | |||
|
|
If you specified a referenceId in the button creation form, Amazon Payments returns the referenceId to you. Type: String | |||
|
|
The encoded string the caller uses to verify the IPN. Amazon Payments calculates the signature using the elements in the returnURL. The merchant must have manually signed the request.. Type: String Size: 512 bytes | |||
|
|
A value that specifies the Type: Integer Valid Values: 2 | |||
signatureMethod |
A value that specifies the signing method. Type: String Valid Values: HmacSHA256 (preferred) and HmacSHA1. | |||
tokenId |
If Type: String Size: 65 bytes | |||
tokenType |
If Type: String Size: 20 bytes | |||
|
|
Specifies the amount payable in this transaction; for example, USD 10.00. Type: String Size: 30 bytes | |||
|
|
The date when this transaction occurred, specified in seconds since the start of the epoch. Type: Long Size: 40 bytes | |||
|
|
Unique ID generated by Amazon FPS for this transaction. This element is returned if the transaction was accepted by Amazon FPS. Type: String Size: 35 bytes | |||
|
|
Shorthand code that specifies the status of the transaction. Type: String |
The following IPN response elements are returned for successful creation of subscriptions.
| Name | Description | |||
|---|---|---|---|---|
|
|
Sender's address (first line). This element is returned only if the Type: String | |||
|
|
Sender's address (second line). This element is returned only if the Type: String | |||
|
|
Sender's name. This element is returned only if the Type: String | |||
|
|
Sender's email address.
Type: String | |||
|
|
Sender's name. Type: String | |||
|
|
Sender's address - city. This element is returned only if the Type: String | |||
|
|
Sender's address - country. This element is returned only if the Type: String | |||
|
|
Number of transactions for this promotion. This element is only returned if there was a trial period with a special promotional rate. Type: Integer | |||
|
|
The payment method used by the sender. Type: String | |||
|
|
Reason for payment. Type: String | |||
|
|
Sender's telephone number. This element is returned only if the Type: String | |||
|
|
Amount charged for this promotion. This element is only returned if there was a trial period with a special promotional rate. Type: String | |||
|
|
Recipient's email address. Type: String | |||
|
|
Recipient's name. Type: String | |||
|
|
Tells how often the subscription fee will be charged. Type: String | |||
|
|
If you specified a referenceId in the button creation form, Amazon Payments returns the referenceId to you. Type: String | |||
|
|
The encoded string the caller uses to verify the IPN. Amazon Payments calculates the signature using the elements in the returnURL. The merchant must have manually signed the request. For more information, see Handling the Receipt of IPN Notifications. We recommend that you always verify the signature using the method in How to Verify the IPN Signature. Type: String | |||
|
|
Date the subscription begins. This is expressed as the timestamp value from the epoch in seconds. Type: String | |||
|
|
Sender's address - state. This element is returned only if the Type: String | |||
|
|
For a successful creation, the status code returned is Type: String | |||
|
|
A unique value identifying the subscription that is generated by Amazon Payments. Type: String | |||
|
|
Total time period to charge for the subscription. Type: String | |||
|
|
Specifies the amount payable in this transaction; for example, USD 10.00. This element is not being returned in the current version. Type: String | |||
|
|
For Subscriptions, a unique value identifying the subscription that is generated by Amazon Payments. This element is returned only for subscription transactions. Type: Integer | |||
|
|
Sender's zip code. This element is returned only if the Type: String |
The following IPN response elements are returned for successful cancellation of subscriptions.
| Name | Description |
|---|---|
|
|
A unique value identifying the subscription that is generated by Amazon Payments. Type: String |
|
|
For a successful cancellation, the status code sent is Type: String |
|
|
Reason for this status. Type: String |
The following IPN elements are returned for successful completion of subscriptions.
The following IPN response elements are returned for marketplace transactions.
IPN Marketplace Transaction Elements
| Name | Description |
|---|---|
|
|
Sender's name. Type: String |
|
|
The payment operation for this transaction. Type: String Max Size: 20 bytes |
|
|
The payment method used by the sender. Type: String |
|
| Reason for payment. Type: String |
|
|
Recipient's email address. Type: String |
|
|
Recipient's name. Type: String |
|
|
If you specified a referenceId in the button creation form, Amazon Payments returns the referenceId to you. Type: String |
signature |
The encoded string the caller uses to verify the IPN. Amazon Payments calculates the signature using the elements in the returnURL. The merchant must have manually signed the request. For more information, see Handling the Receipt of IPN Notifications. We recommend that you always verify the signature using the method in How to Verify the IPN Signature. Type: String |
|
|
Shorthand code that specifies the status of the transaction. Type: String |
|
|
Specifies the amount payable in this transaction; for example, USD 10.00. This element is not being returned in the current version. Type: Double |
|
|
The date when this transaction occurred, specified in seconds since the beginning of the epoch. Type: Long |
|
|
Unique ID generated by Amazon FPS for this transaction. This element is returned if the transaction was accepted by Amazon FPS. Type: String |