steampy icon indicating copy to clipboard operation
steampy copied to clipboard

How do I accept mobile trade confirmations?

Open Hitm0nLim opened this issue 3 years ago • 1 comments

I need some help confirming trades that have been sent via Steam and not though steampy. I see that it can be done through send_trade_allow_request() but I cannot get the required trade_offer_id parameter from get_trade_offers(). How should I do this?

Hitm0nLim avatar Jun 25 '21 21:06 Hitm0nLim

BUMP!

Please help solve this problem. With accept_trade_offer, I can accept all trades that other users have sent me. However, if I send the trade myself, then the accept_trade_offer method is not suitable to confirm it, instead, you need to use _confirm_transaction, and then everything will work out.

However, I still can't figure out how to get the trade_offer_id to enter in _confirm_transaction. I tried to monitor the network in the browser during the creation of the request, and when requesting "https://steamcommunity.com/tradeoffer/new/send", the answer is the same trade_offer_id that I need.

BUT QUESTION: Is it possible to get this trade_offer_id in another way without forming a trade? (Because the get_trade_offer method does not show the trade_offer_id of the sent trade)

Related Topics: https://github.com/bukson/steampy/issues/133 https://github.com/bukson/steampy/issues/153 https://github.com/bukson/steampy/issues/208

Requestedd avatar Oct 17 '21 20:10 Requestedd

Hey,

there's probably many reasons for why you're getting. Error: steampy.exceptions.ConfirmationExpected I am lead to believe that this is either caused by either your # html parser, or assetid type. I encountered this bug after mistakenly converting assetid to int. So have a look through your code as this doesn't seem to be an issue with the library itself, rather it is a bug in your code.

d0nker420 avatar May 14 '23 19:05 d0nker420

Fixed with #274

bukson avatar Sep 14 '23 20:09 bukson