直到几周前,这一直运作良好。现在我收到回复的回复" ReturnUrl"是无效的。它不是" ReturnURl ="但在整个网址本身的某个地方。 我发送了一个返回令牌,以便进行授权。 任何指导意见。
使用ASP
Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objXMLHTTP.open "post", GatewayHost, False
objXMLHTTP.setRequestHeader "Content-Type", "text/namevalue"
objXMLHTTP.setRequestHeader "Host", "corp.ebay.com"
objXMLHTTP.setRequestHeader "X-VPS-Timeout", "30"
objXMLHTTP.setRequestHeader "X-VPS-VIT-Client-Architecture", "x86"
objXMLHTTP.setRequestHeader "X-VPS-VIT-Client-Certification-Id", "14"
objXMLHTTP.setRequestHeader "X-VPS-VIT-Client-Type", "ASP/Classic"
objXMLHTTP.setRequestHeader "X-VPS-VIT-Client-Version", "0.0.1"
objXMLHTTP.setRequestHeader "X-VPS-VIT-Integration-Product", "Homegrown"
objXMLHTTP.setRequestHeader "X-VPS-VIT-Integration-Version", "0.0.1"
objXMLHTTP.setRequestHeader "X-VPS-VIT-OS-Name", "windows"
objXMLHTTP.setRequestHeader "X-VPS-VIT-OS-Version", "2002_SP2"
parmList = "PWD[8]=" & PassWord
parmList = parmList + "&USER[9]=" & UserID
parmList = parmList + "&VENDOR[9]=" & VendorID
parmList = parmList + "&PARTNER[3]=" & PartnerID
parmList = parmList + "&TRXTYPE[1]=A"
parmList = parmList + "&ACTION[1]=S"
parmList = parmList + "&TENDER[1]=P"
parmList = parmList + "&AMT=" & session("cctotal")
parmList = parmList + "&RETURNURL=HTTPS://WWW.XXXXXXXXX.COM/XXXXXX.ASP"
parmList = parmList + "&CANCELURL=HTTPS://WWW.XXXXXXX.COM/XXXXX.ASP"
objXMLHTTP.send parmList
答案 0 :(得分:0)
很抱歉。
RESULT = 7& RESPMSG =字段格式错误:10471-ReturnURL无效。