question

aziali29 avatar image
0 Likes"
aziali29 asked ·

How can one identify eBay order after being paid?

Does anybody know how an eBay order can be identified after being paid? There is a note in GetOrders documentation https://developer.ebay.com/devzone/xml/docs/reference/ebay/getorders.html#Request.OrderIDArray.OrderID saying the following: ""Note: For sellers integrated with the new order ID format, please note that the identifier for an order will change as it goes from unpaid to paid status. Sellers can check to see if an order has been paid by looking for a value of 'Complete' in the CheckoutStatus.Status field in the response of GetOrders or GetOrderTransactions call, or in the Status.CompleteStatus field in the response of GetItemTransactions or GetSellerTransactions call. When using a GetOrders or GetOrderTransactions call to retrieve specific order(s), either of these order IDs (paid or unpaid status) can be used to retrieve an order. ------------------------------- Use case: Imagine the following. We have an unpaid order which has New OrderID , now it is sent as ExtendedOrderID with some value, say 'AAAAAAAAAA'. After being paid regarding that NOTE https://developer.ebay.com/devzone/xml/docs/reference/ebay/getorders.html#Response.OrderArray.Order.ExtendedOrderID it should be changed to, say 'BBBBBBBBB'. So how can we identify that newly came 'BBBBBBBBB' is the old 'AAAAAAAAAA' Additional info: For now I can see that there is no value at all (nil/null) in ExtendedOrderID if an order is unpaid https://developer.ebay.com/devzone/xml/docs/reference/ebay/getorders.html#Response.OrderArray.Order.ExtendedOrderID, and after being paid it has some non-empty value like '123456789' Thanks in advance! P.S. This question is related to https://forums.developer.ebay.com/questions/33587/when-ebay-stops-to-support-old-orderid.html
trading apigetorderstrading-apigetorders-ebay-apitradingapi
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

lapinke0 avatar image
0 Likes"
lapinke0 answered ·
Hi there, we are dealing with the same issue. For now we are skipping orders which don't have an ExtendedOrderID set. We are using API Version 1125 but we are STILL getting the old format OrderIDs which most of the time change to the new OrderID format later on. Since we are skipping the old format orders, this leads to missing orders for our customers (ebay sellers). Sometimes orders do not get updated after accepting price offers or marking the order as paid manually. We could use the OrderLineItemID to identify orders internally no matter if they use the new or the old OrderID format. But the API docs state that the OrderLineItemID might also be subject to changes / not supported anymore in the future since it is listed in the "outdated formats" section of the API docs. So how to deal with this? Right now there does not seem to be a realiable way to identify orders, no matter which API version we use. After all identifiers should be unique and not subject to changes... Orders having the old OrderID format are mostly CheckoutStatus=Incomplete but not always - and therefore valid orders which we should get from the API and be able to update and identify down the road.
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

eram_developersupport avatar image
0 Likes"
eram_developersupport answered ·
Hi @aziali29 , Could you please provide your request file so that we can answer better? Are you using the 1113 Version in order to get the new order ID? You can make use of [ https://developer.ebay.com/devzone/xml/docs/reference/ebay/getorders.html #Response.OrderArray.Order.TransactionArray.Transaction.OrderLineItemID][1] Which returns the format as soon as there is a commitment from the buyer to buy the item. Best Regards, eBay Developer Support. [1]: https://developer.ebay.com/devzone/xml/docs/reference/ebay/getorders.html#Response.OrderArray.Order.TransactionArray.Transaction.OrderLineItemID
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.