Paypal IPN 验证

编程入门 行业动态 更新时间:2024-10-15 06:13:11
本文介绍了Paypal IPN 验证 - 尽管已到达成功页面,但仍无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

最近几天,我一直在为一些小问题撞墙.这次我是拼图的最后一块.在我的 wordpress 购物车插件的 php 函数中,我有以下内容:

I've been bashing my head against a brick wall the last few days on minor problems. This time I am on the final piece to the puzzle. In my php function of a wordpress cart plugin I have the following:

相关功能 - codepad/uDm3q9yp

Paypal 类 - codepad/friBthoO

Paypal Class - codepad/friBthoO

我设法通过了购买罚款.如果我检查沙盒帐户,卖家会收到来自贝宝和金钱等的正确电子邮件.然而,功能中的案例IPN"似乎不起作用.没有发送详细信息的电子邮件.成功案例是通过显示的感谢页面来实现的.我不明白我怎么会错过任何东西.有什么想法吗?

I manage to go through the purchase fine. If I check on the sandbox account the seller receives the correct email from paypal and money etc. The case "IPN" in the function doesn't seem to work however. No email is sent with details. The success case is reached with a thank you page shown though. I don't understand how I could have missed anything. Any ideas?

推荐答案

我会直接说我不会坐在这里测试你的脚本,但我理解从我过去的经验中解决 IPN 脚本问题的痛苦所以我会分享一些技巧:

I'll be straight forward I'm not gonna sit here and test your script, but I understand the pain of trouble shooting an IPN script from my past experience so I'll share some tips:

  • 使用 IPN 测试仪/模拟器:cms.paypal/ca/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNTesting
    • 检查它是否可以到达您的脚本地址
    • 检查您的脚本是否正在回传
    • 检查您是否从 Paypal 收到了 VALID 回复
      • 如果可行,请检查 Paypal 将其 IPN 信息发送到正确脚本的位置

更多推荐

Paypal IPN 验证

本文发布于:2023-11-07 23:20:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567706.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Paypal   IPN

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!