podidoo Posted March 20, 2018 Report Posted March 20, 2018 (edited) Hey, I'm not sure about this (hard to reproduce), but sometime I have trade offer cancelled not from my end (i think). When using getTradeOffer method, there is no item description but a tradeid. It looks like the item just got its assetid changed (I can't find the item on my inventory anymore, but an identical one exist with a different assetid). Should I use the tradeid provided to get a receipt and update my item assetid? Do anyone knows the real process/workflow behind this? Edited March 20, 2018 by podidoo Quote
Dr. McKay Posted March 20, 2018 Report Posted March 20, 2018 Yes, call offer.getExchangeDetails and if the trade was rolled back (the likely scenario in this case) you'll have the post-rollback IDs there. Quote
podidoo Posted March 21, 2018 Author Report Posted March 21, 2018 Ok thank you. One more question, when you receive items you use the receipt URL but for this method you use GetTradeStatus.The receipt version only show new item acquired. Why not only use GetTradeStatus every time? What is the benefit of parsing the receipt URL? Quote
Dr. McKay Posted March 21, 2018 Report Posted March 21, 2018 You pretty much should use getExchangeDetails instead of getReceivedItems. getReceivedItems isn't useful for the vast majority of people anymore outside of a select few cases. Quote
podidoo Posted March 22, 2018 Author Report Posted March 22, 2018 Ok! Going through your github repos, I just saw that GetTradeStatus is a "new" endpoint. That's why I didn't know about it. (I'm not using your node packages, I hate JS, but it's a very good source of documentation for the steam API, so thanks for your work!) Dr. McKay 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.