AuctionCheckoutComplete notification payload does not contain ExternalTransactionID Home Knowledge Base AuctionCheckoutComplete notification payload does not contain ExternalTransactionID Find the answer to your question
Advanced Search Product -Select Product- GDPR Trading API Shopping API Merchandising API Feedback API Finding API Product Services Sandbox Others MIP Media API Notification API Identity API Charity API Taxonomy API Catalog API Recommendation API Compliance API Logistics API Finances API(Alpha) Negotiation API Sell Feed API Marketing Ads API Account API Inventory API Fulfillment API Marketing Promotion API Analytics API Metadata API Offer API Marketplace Insights API Deal API Marketing API Feed API Browse API Order API Analytics API Key Management API Cancellation API Case Management API Inquiry API Return API Category -Select- Getting Started Sample Code Troubleshooting HowTo's / Best Practices No Value
Language -Select- C# Flex Java JavaScript PHP VB.NET VB6
Format -Select- All XML SOAP JSON Name Value N/A
SDK -Select- .NET Java JavaScript Flax/Flash Mobile - iOS None
Sort by Default Summary New Description Date Updated
Sort order Descending Ascending
Search
Published: July 23 2009, 4:55:00 PM Updated: August 24 2022, 3:02:23 AM
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"?> <GetItemTransactionsRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <RequesterCredentials> <eBayAuthToken>token>/eBayAuthToken> </RequesterCredentials> <ItemID>ItemID</ItemID> <TransactionID>TransID</TransactionID> <IncludeContainingOrder>true</IncludeContainingOrder> <DetailLevel>ReturnAll</DetailLevel> </GetItemTransactionsRequest>
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"?> <GetOrderTransactionsRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <DetailLevel>ReturnAll</DetailLevel> <OrderIDArray> <OrderID>OrderID</OrderID> </OrderIDArray> <RequesterCredentials> <eBayAuthToken>token>/eBayAuthToken> </RequesterCredentials> </GetOrderTransactionsRequest>
How well did this answer your question? Answers others found helpful