Showing results for 
Search instead for 
Did you mean: 

Paypal Error Message

Posted on

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,





<%Function SendMessageToPayPal()%>


  Dim PayPalURL

  Dim objSrvHTTP 


  PayPalURL = strPayPalInternetPath


  Set objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") "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)

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.