Home
Find the answer to your question
AuctionCheckoutComplete notification payload does not contain the external transaction ID. Is there a way I can get the same?
Your can retrieve this data via the API. The ExternalTransactionID field is returned by most calls that return transaction related data once the item/order has been paid for. There are two order scenarios -
1. Single item order -
Make a call to GetItemTransactions as below and retrieve the ExternalTransactionID the from the response.
<?xml version="1.0" encoding="utf-8"?> <GetItemTransactionsRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <RequesterCredentials> <eBayAuthToken>token>/eBayAuthToken> </RequesterCredentials> <ItemID>ItemID</ItemID> <TransactionID>TransID</TransactionID> <DetailLevel>ReturnAll</DetailLevel> </GetItemTransactionsRequest> |
2. Multi-item order -
Retrieve the OrderID from the notification or by making a call to GetItemTransactions as below
<?xml version="1.0" encoding="utf-8"?> |
Then make a call to GetOrders or GetOrderTransactions and retrieve the ExternalTransactionID the from the response. Below is a sample GetOrderTransactions request -
<?xml version="1.0" encoding="utf-8"?> |