Glad to hear it is working now. It looks like vbscript doesn't follow
the registry defaults like asp scripts do. Using the Option(9) setting
allows you to specify the TLS version. It may also be true that the
winhttp.dll version dictates the TLS vers...
Try using this set object: Set xml =
CreateObject("WinHTTP.WinHTTPRequest.5.1") and then add xml.Option(9) =
2048 'TLS 1.2 just before xml.open "POST",
"https://secure.authorize.net/gateway/transact.dll", false Should look
something like this: 'Set x...
What version is your winhttp.dll in the windows\system32 folder? Try the
same exact set object line that you are using in the asp script that has
"Server." in front of CreateObject like this: Set xml =
Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")o...
Is this script run on the same server? If not, what is the environment?
Can you post the whole script or the line number and part of the script
that is failing?