我前两天刚做过,很简单.你可以参考那个文档,即
Order Management Integration Guide
就是订单集成指南,不要下那什么api的文档,那东西太烦了,而且里面提供的东西你用不上.先在paypalmy account的profile的ipn设置中,设置开启ipn,并提供notify地址,比如你的是 http://wwww.xxx.com/myNotify.aspx你的表单里要加一个项
<input type=hidden value=你的订单号 name=invoice />
这个订单在 notify.aspx里用于更新订单状态.当买家付款之后,paypal post数据到你指定的地址.即 myNotify.aspx在你的myNotify.aspx 接收到它 post过来的数据 设为 strRequest , 数据后再加一个参数,cmd,值为 notify-validate 指明是用来验证.
即 strRequest += "cmd=_notify-validate";
然后再 post 到paypal, 然后获取它的返回,看是  VERIFIED 还是 NVALID
若是前者,则表示支付信息是正确的, 把 strRequest里的invoice参数的值取出来,也就是订单号,然后更新你的表中记录即可.