click here 这里是空链接,而且我在后台那边断点了,根本没跳回去

解决方案 »

  1.   

    return_url
    10秒后他自动跳转notify_url
    后台通知,要通过日志记录才能知道他是否有访问
      

  2.   

    就算他没有自动跳转,但是那个click here 总有链接吧,但是那里是空的,我想问为什么我把notify_url post来这边了,为什么这里是空的
      

  3.   

    notify_url 是主动通知(对方后台服务直接访问你给定的地址),不是跳转
      

  4.   

    你看清对方给你的接口没有,应该都有两个url的
      

  5.   


    还有return,cancel_return这两个参数我也有设置啊
      

  6.   

    return 返回,cancel_return 取消后返回
      

  7.   

    是啊,但是我那个click here什么也没有
      

  8.   

    还有你的url格式,支付接口的url是不允许带参数的
      

  9.   

    http://www.abc.com/index.aspx  正确
    http://www.abc.com/index_1.aspx 正确http://www.abc.com/index.aspx?pid=1 错误
      

  10.   

    Response.Redirect(Constants.WEBSCR_URL + "?cmd=_xclick&charset=utf-8&image_url=" + Constants.web_url + "/images/logo.png&business=" + Constants.STANDARD_ADDRESS + "&item_name=" + Constants.SUBJECT + "&item_number=" + orderNum + "&amount=" + totalAccount.ToString("0.00") + "&currency_code=USD&no_shipping=1&notify_url=" + Constants.notify_url + "&cancel_return=" + Constants.cancel_return + "&return=" + Constants.returns);我是这样的,付款成功
      

  11.   

    做为url参数的特殊字符都要格式化(包括中文字符,url字符)
    Server.UrlEncode(Constants.notify_url)
    Server.UrlEncode(Constants.cancel_return)
    Server.UrlEncode(Constants.returns)你的支付接口不严谨,如果是淘宝的接口或银行接口肯定通不过
      

  12.   


    不关这些事情,当我在paypal的用户信息那边设置自动返回,网站这边不设置return参数,就能自动返回我的网站,但是IPN的设置或者设定notify_url,付款之后,我的后台都是执行不了的。
      

  13.   

    自己用log4写一下日志,只要有人访问,就写下记录