Hello,
An ecommerce website I manage is currently using classic ASP and posting to https://secure.authorize.net/gateway/transact.dll for our transactions. Is this compatible with TSL 1.2, or will I need to make changes? If so, what changes must be made?
I've contacted Authorize.net, but they directed me to post here.
Thanks,
Wes
12-04-2017 06:46 PM
@wesg92 Yes, Transact endpoint https://secure.authorize.net/gateway/transact.dll supports TLS12. Make sure to set the SecurityProtocol to TLS 1.2 before sending the request.
Here is the Eg:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Please let us know if you are facing any issue.
-Bhavana
12-05-2017 01:41 PM
Gotcha, not quite sure where that fits.
Here is my code:
Const SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS = 2
Const SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056
Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
xml.setOption SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS, SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS
xml.open "POST", "https://secure.authorize.net/gateway/transact.dll", false
xml.send vPostData
strStatus = xml.Status
strRetval = xml.responseText
Set xml = nothing
Thanks,
Wes
12-05-2017 07:41 PM - edited 12-05-2017 07:43 PM
Hello @wesg92
Our sandbox is configured to only support a TLS 1.2 connection for testing a connection.
You should also review our API best practices. Depending on your platform, tools and services, you may need to upgrade some of all of your systems to support TLS 1.2.
Richard
12-05-2017 08:26 PM
I don't see anything in there detailing what code changes, if any, that I need to make. It's vague and nothing references classic ASP.
12-06-2017 05:38 PM
Any other thoughts or help? I'm really not sure how best to proceed here. Thank you.
12-18-2017 04:58 PM
The information at the link below may be helpful.
https://stackoverflow.com/questions/33761919/tls-1-2-in-net-framework-4-0
Richard
12-19-2017 11:46 AM
12-19-2017 05:39 PM
Set httpRequest = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")
12-19-2017 07:20 PM
"Set httpRequest = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")"
Thank you. I saw this in another thread as well. Assming that is the only change that is needed?
12-28-2017 12:12 PM