Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I accept mobile trade confirmations? #210

Closed
Hitm0nLim opened this issue Jun 25, 2021 · 3 comments
Closed

How do I accept mobile trade confirmations? #210

Hitm0nLim opened this issue Jun 25, 2021 · 3 comments

Comments

@Hitm0nLim
Copy link

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?

@Requestedd
Copy link

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:
#133
#153
#208

@d0nker420
Copy link

d0nker420 commented May 14, 2023

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.

@bukson
Copy link
Owner

bukson commented Sep 14, 2023

Fixed with #274

@bukson bukson closed this as completed Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants