0
直到幾個星期前,這一直運行良好。現在我收到回覆「ReturnUrl」無效的回覆。這不是「ReturnURl =」,而是整個url本身的某個地方。 我正在發送返回令牌,以進行授權。 任何指導讚賞。錯誤10471 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
您能提供您得到的完整回覆嗎? – Un3qual
RETURNURL - 字符長度和限制:2048個單字節字符。 你是否傳遞了一個在界限內的返回URL? – ksuralta