Akaz Posted September 4 Report Share Posted September 4 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 Link to comment Share on other sites More sharing options...
Dr. McKay Posted September 4 Report Share Posted September 4 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 Link to comment Share on other sites More sharing options...
Akaz Posted September 4 Author Report Share Posted September 4 Thank you for the explanation Quote Link to comment Share on other sites More sharing options...
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.