Best practices for handling IPNs
After you have received an Instant Payment Notification, check whether you need more details than what was provided by the IPN and perform the corresponding GET operation for the respective object if necessary: GetOrderReferenceDetails, GetAuthorizationDetails, GetCaptureDetails, or GetRefundDetails.
Calling the associated API gives you the full details about a payment object, including any reason codes or error handling.
For more information about reason codes, see the States and reason codes section of the Amazon Pay API reference guide.
Copyright © 2009-2017 Amazon.com, Inc. or its affiliates. Amazon and Amazon.com are registered trademarks of Amazon.com, Inc. or its affiliates. All other trademarks are the property of their respective owners.