Paypal Error Message

RobinLHR
Contributor
Contributor

I have websites written in Classic ASP.  The following code, from thankyou_paypal_lt.asp,  worked for years and now it doesn’t.  The purpose of the code is to pay for an item through Paypal and return the customer back to the website.   The webhost is Accuwebhosting.  They 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

 

Please help.

 

Thanks,

 

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)

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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