注册 登录
编程论坛 ASP技术论坛

paypal支付 IPN返回程序里的问题

hmhz 发布于 2007-08-17 12:11, 928 次点击

这是IPN文件里的一段代码,谁能告诉我是什么意思?

<%
str = Request.Form & "&cmd=_notify-validate"
set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")

objHttp.open "POST", "https://www.paypal.com/cgi-bin/webscr", false
objHttp.setRequestHeader "Content-type", "application/x-www-form-urlencoded"
objHttp.Send str

item_name = Request.Form("item_name")
item_number = Request.Form("item_number")
payment_status = Request.Form("payment_status")
txn_id = Request.Form("txn_id")
parent_txn_id = Request.Form("parent_txn_id")
receiver_email = Request.Form("receiver_email")
payer_email = Request.Form("payer_email")
reason_code = Request.Form("reason_code")
business = Request.Form("business")

set objHttp = nothing
%>

2 回复
#2
ayue2222007-08-17 12:16
异步调取数据
#3
madpbpl2007-08-17 13:21

楼主搜索一下asp调用xml

1