Getting the Transaction Status

You might like to let your senders see the status of their order. Recipients might want to know which transactions are in the Reserved state so that they can fulfill the transaction. A reserved state means that the Reserved request was made, but you haven't issued a Settle request to charge the sender's payment instrument.

To get the transaction status

  1. Retrieve at least one TransactionId from your database.

  2. For each TransactionId, send a GetTransactionStatus request.

    Amazon FPS returns a response. One of the elements in the response is TransactionStatus.

    For more information about the parameters, see GetTransactionStatus.

Parse the response to evaluate which TransactionIds have a TransactionStatus with a value of Reserved.

Use this list of TransactionIds to form a task list of orders to fulfill.

The following request returns the status of one transaction.

https://fps.amazonaws.com/?
  Action=GetTransactionStatus&
  AWSAccessKeyId=0656Example83G2&
  SignatureVersion=1&
  Timestamp=2007-08-06T13%3A00%3A01Z&
  TransactionId=254656Example83987&
  Version=2008-09-17&
  Signature=<URL-encoded signature value>