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

mass deleting buy orders on market page not working #137

Open
pacopepepipo opened this issue Sep 4, 2019 · 5 comments
Open

mass deleting buy orders on market page not working #137

pacopepepipo opened this issue Sep 4, 2019 · 5 comments

Comments

@pacopepepipo
Copy link

when you try to check all and then delete all buy orders, it doesn't work

1- click select all
2- click remove selected
3- all items go in red
4- all the items stay there and are not deleted.

@woctezuma
Copy link

I can confirm the issue is still there.

Related:

Maybe related:

@woctezuma
Copy link

I see this error message after the main page for Steam Market has been loadeds.

Picture

@woctezuma
Copy link

This is the error which happens when I select a buy order and try to "remove selected" buy orders.

Picture

@woctezuma
Copy link

I ended up using https://github.com/bukson/steampy#market-methods

@disanyixing
Copy link

disanyixing commented Sep 30, 2023

SteamMarket.prototype.removeListing = function (item, callback /*err, data*/) {
        var sessionId = readCookie('sessionid');
            $.ajax({
                type: "POST",
                url: window.location.protocol + '//steamcommunity.com/market/removelisting/' + item,
                data: {
                    sessionid: sessionId
                },
                success: function (data) {
                    callback(ERROR_SUCCESS, data);
                },
                error: function () {
                    // return callback(ERROR_FAILED);
                    $.ajax({
                        type: "POST",
                        url: window.location.protocol + '//steamcommunity.com/market/cancelbuyorder/',
                        data: {
                            sessionid: sessionId,
                            buy_orderid: item
                        },
                        success: function (data) {
                            callback(ERROR_SUCCESS, data);
                        },
                        error: function () {
                            return callback(ERROR_FAILED);
                        },
                        crossDomain: true,
                        xhrFields: {
                            withCredentials: true
                        },
                        dataType: 'json'
                    });
                },
                crossDomain: true,
                xhrFields: {
                    withCredentials: true
                },
                dataType: 'json'
            });
    };

image

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

3 participants