Jump to content
McKay Development

acceptConfirmationForObject - Cannot Confirm Market Listings


Recommended Posts

Posted

hello there,

i can confirm any trade offer with the offerID property but while confirming a market listing, i get this error:Error: Could not find confirmation for object "id here"

example data:

  CConfirmation {
    id: '7914986268',
    type: 3,
    creator: '2846786440405394409',
    key: '5826745867538273787',
    title: 'Sell - Strange Flying Guillotine',
    receiving: '249,98 TL (217,39 TL)',
    time: '28 minutes ago',
    icon: 'https://steamcommunity-a.akamaihd.net/economy/image/fWFc82js0fmoRAP-qOIPu5THSWqfSmTELLqcUywGkijVjZULUrsm1j-9xgEIUxQVYhjuvTlVjdrZAfOeD-VOyNxs48VTjzc7kFl4NrPhZDFiIV2bUaQGWK1v9124WiYzupIzDNS3ofUWJ1vzhdlvNA/32fx32f',
    offerID: null
  }

i've tried id, key and none of them worked.

Posted
5 hours ago, Dr. McKay said:

Can you show the code you're trying to use?

i've fixed the problem by using the confirmation object's respond method but i'm pretty sure my code was okay as i was able to confirm all the trade offers.
i guess we need to use the market listing id instead of confirmation id for acceptConfirmationForObject

Posted (edited)
9 hours ago, Dr. McKay said:

Yes, that's correct.

Does the respond method automatically retrieve the market listing id, as it's not provided by the confirmation object

Edited by sergun

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...