I have websites written in Classic ASP. The following code, thank you pay pal.asp, worked for years and now it doesn’t. The purpose of the code is to pay for an item through Pay pal and return the customer back to the website. The web host updated their servers. The code below now results in the following error message:
server giving msxml3.dll error '80072f7d' when trying to access secure url
Your help would be greatly appreciated,
Robin
***********************************************************************************
<%Function SendMessageToPayPal()%>
<%
Dim PayPalURL
Dim objSrvHTTP
PayPalURL = strPayPalInternetPath
Set objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
objSrvHTTP.open "POST", PayPalURL, false
objSrvHTTP.SetRequestHeader "Content-Type","application/x-www-form-urlencoded"
objSrvHTTP.send (strPayPalMessage)
strResponseMessage = objSrvHTTP.responseText
intHTTPStatusCode = objSrvHTTP.status
strHTTPStatusText = objSrvHTTP.statusText
%>
<%End Function%>
***********************************************************************************
The error is created at:
objSrvHTTP.send (strPayPalMessage)