New to the community? Welcome! Please read our Community Rules and Guidelines
Hi Im using some simple asp code but with this upgrade i'm getting the error The certificate chain did not validate, common name did not match URL.
can anyone help? code attached
ParmList = "USER=xxxx" & _
"&VENDOR=xxxx" & _
"&PARTNER=xxxx" & _
"&PWD=xxxx" & _
"&TRXTYPE=A" & _
"&TENDER=C" & _
"&EMAIL=xxxx"& _
"&ACCT=xxxx"& _
"&EXPDATE=0522"& _
"&AMT=1"& _
"&STREET=1 home st"& _
"&ZIP=06443" & _
"&shiptoZIP=06443"& _
"&shipfromZIP=06443"& _
"&ponum=423423"&_
"&desc=this merch"&_
"&taxamt=1"&_
"&cvv2=111"
Set client = Server.CreateObject("PayPal.Payments.Communication.PayflowNETAPI")
host = "pilot-payflowpro.paypal.com/transaction"
port = 443
timeOut = 45
set proxyAddress = nothing
proxyPort = 0
set proxyLogon = nothing
set proxyPassword = nothing
traceEnabled = "OFF"
set doNotChangeParam1 = nothing
set doNotChangeParam2 = nothing
set doNotChangeParam3 = nothing
doNotChangeParam4 = true
client.SetParameters host, port, timeOut, proxyAddress, proxyPort, proxyLogon, proxyPassword, traceEnabled, doNotChangeParam1, doNotChangeParam2, doNotChangeParam3, doNotChangeParam4
reqId = client.GenerateRequestId()
ResponseList = client.SubmitTransaction(parmList,reqId)
response.write("<Br>"&ResponseList)
I'm having the same issue. Were you able to resolve this?
I found, at least with my .NET app, that I needed to enabled TLS 1.2 support to avoid this error.
Exactly how you do that will depend on your OS setup and programming language of choice.
©1999-2019 PayPal, Inc. All rights reserved.