soonduq Posted July 9, 2017 Report Posted July 9, 2017 const offer = manager.createOffer(''+user.link+''); offer.addMyItem({ "id": item.assetid, "assetid": item.assetid, "appid": 730, "contextid": 2, "amount": 1 }); offer.setMessage('Delivery "'+item.item+'" from sitename for '+user.name+' ['+helpers.getDateTime()+']'); offer.send(function(err, status) { if(err){ util.log(`[BOT] Sent error: ${err}`); }else{ util.log(`[BOT] Sending: ${item.item} for ${user.name}. TradeID# ${offer.id}`); community.acceptConfirmationForObject(identity, offer.id, function(err) { if(err){ util.log(`[BOT] Error: ${err}`); }else{ util.log(`[BOT] Tradeoffer #${offer.id} sent!`); } }); } }); After offer send, i've got error → TypeError: community.acceptConfirmationForObject is not a functionWhat is the problem?startConfirmationChecker work successfully 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.