小编use*_*119的帖子

Paypal IPN:未调用notify_url

我正在测试一个简单的paypal支付脚本,工作正常,但它没有调用我的notify_url,我不明白为什么.网址是可以访问的,甚至沙盒IPN测试也会得到肯定的结果.更奇怪的是,在同一个域上,我有一个其他脚本正在工作.代码不相同,但它使用相同的方法.

这是用于向Paypal发送paymento的表单的html:

form id="ppcheckout" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" name="pp">
  <input type="hidden" value="_xclick" name="cmd">
  <input id="business" type="hidden" value="xxx@gmail.com" name="business">
  <input id="currency_code" type="hidden" value="EUR" name="currency_code">
  <input type="hidden" value="http://www.mydomain.com/dir/ipn.php" name="notify_url">
  <input id="return" type="hidden" value="http://www.mydomain.com/dir/" name="return">
  <input id="cancel_return" type="hidden" value="http://www.mydomain.com/dir/" name="cancel_return">
  <input type="hidden" value="1" name="amount">
  <input type="hidden" value="Order from mysite" name="item_name">
  <input type="hidden" value="1" name="invoice">
</form>
Run Code Online (Sandbox Code Playgroud)

无法弄清楚什么是错的或缺失的.有人有想法吗?

谢谢再见

paypal paypal-ipn

7
推荐指数
3
解决办法
1万
查看次数

标签 统计

paypal ×1

paypal-ipn ×1