Akaz Posted September 4, 2023 Report Posted September 4, 2023 https://github.com/DoctorMcKay/node-steamstore#addphonenumbernumber-bypassconfirmation-callback Hey, calling this function with bypassConfirmation to true still send the email confirmation with the link that must be clicked. Am I doing something wrong or did I misunderstood the parameter? Or maybe it's just broken? store.addPhoneNumber(phoneNumber, true, (err) => { if (err) { reject(new Error(`Failed to add phone number: ${err.message}`)); } else { logInfo(`Confirmation sent to phone number: ${phoneNumber}`); } }); Thanks Quote
Dr. McKay Posted September 4, 2023 Report Posted September 4, 2023 The docs are actually really terrible on this and don't properly explain what this does. It doesn't bypass the need to confirm adding the phone number. When you add a number on the Steam UI, sometimes it throws up a warning message but allows you to proceed. I can't think of a case where this happens off-hand, but you used to be able to use VOIP numbers, though you would be warned that using a VOIP number is less secure than a true cell number, but you could click OK and continue. bypassConfirmation is what controls whether these errors come through to your Node app (false = fail with those errors, true = ignore them). Akaz 1 Quote
Akaz Posted September 4, 2023 Author Report Posted September 4, 2023 Thank you for the explanation 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.