NeweggBot icon indicating copy to clipboard operation
NeweggBot copied to clipboard

KN95 mask popup in checkout

Open jmich69 opened this issue 5 years ago • 11 comments

When checking out, every single time the bot is stopped by this popup attached. seems to be no way around it, even if I select the "do not show this message again" in browser or another browser. prevents checkout. neweggs bot defeater 3000

jmich69 avatar Dec 02 '20 02:12 jmich69

Yea, I was messing around with the bot tonight and received that pop-up as well.

I am running off of Codolophier fork. Error message when the pop up is below

[2020-12-01T20:41:16.862] [INFO] Newegg Shopping Bot - Newegg Shopping Bot Started [2020-12-01T20:41:27.262] [TRACE] Newegg Shopping Bot - Logged in [2020-12-01T20:41:27.263] [INFO] Newegg Shopping Bot - Checking for Item [2020-12-01T20:41:29.862] [INFO] Newegg Shopping Bot - Item added to cart, attempting to purchase [2020-12-01T20:41:29.874] [INFO] Newegg Shopping Bot - Starting Secure Checkout [2020-12-01T20:41:37.914] [ERROR] Newegg Shopping Bot - Cannot find the Place Order button. [2020-12-01T20:41:37.914] [WARN] Newegg Shopping Bot - Please make sure that your Newegg account defaults for: shipping address, billing address, and payment method have been set.

soundagent avatar Dec 02 '20 03:12 soundagent

The same here. Any solution yet?

CodeZ1LLa avatar Dec 06 '20 08:12 CodeZ1LLa

It can be removed with an adblocker such as uBlock Origin, so the bot can proceed to checkout. However, the bot opens a new instance of firefox each time which is free of extensions. Additionally, there is a "Do not show this message again" checkbox, but since cookies are not saved, it asks for it each time. The solution should be pretty easy, so would be great if the creator would address it at his earliest convenience.

CodeZ1LLa avatar Dec 07 '20 05:12 CodeZ1LLa

Any update on this guys?

mateuszdrab avatar Dec 12 '20 00:12 mateuszdrab

@Codolophier this is the error I was talking about in the other post. I believe it's making the bot, not see the pay now screen.

technaustin avatar Dec 14 '20 16:12 technaustin

@technaustin So far, I am not able to reproduce it. Is there anything particular about your account that may be triggering this? For example, geographic region (i.e., COVID hotspot), previous searches for N95, etc.?

Codolophier avatar Dec 15 '20 03:12 Codolophier

I was able to reproduce it earlier...but when I add the mask to my cart, remove it, then run the bot again, it does not pop up.

soundagent avatar Dec 15 '20 04:12 soundagent

@technaustin So far, I am not able to reproduce it. Is there anything particular about your account that may be triggering this? For example, geographic region (i.e., COVID hotspot), previous searches for N95, etc.?

Only thing I have noticed is, it doesn’t happen on cheaper items. I’m using a VPN, to different locations, and never bought anything related to covid. It happens without the VPN as well, but maybe it’s locational based on my account? Pacific Northwest

technaustin avatar Dec 15 '20 04:12 technaustin

@Codolophier, Here is the HTML for that element. I found if I use a normal browser with a pop up blocker it doesn't happen, but couldn't get it working with PUPPETEER. KN95 Pop Up.txt

Sidenote: I was actually able to get one of the graphics card I wanted, without the bot, but hoping this can help others. Appreciate your work!

technaustin avatar Dec 15 '20 19:12 technaustin

it looks like the k95 pop up is causing my issues with the secure checkout button not found issues because if i pause the script there, close it, and then resume, it works.

unfortunately i have no experience with javascript or html and its not as simple as button.id.close() like it is in the languages im used to lol

crash087 avatar Dec 22 '20 05:12 crash087

I added code to handle this popup. See https://github.com/Ataraksia/NeweggBot/pull/35

Other users are reporting an issue with the product looping being added to checkout, but I'm able to complete a purchase up to entering the CVV code. Hopefully this fixes the issue for you also!

wcedmisten avatar Jan 01 '21 00:01 wcedmisten