PayPal IPN 脚本未重定向到 ipn.php
我已经使用 php 下载了示例 paypal IPN 脚本,并使用电子邮件自定义了买断选项,它还有一些隐藏参数,例如金额、数量、return_url、notify_url 等。在沙箱 url 中成功付款后,它不会重定向到 ipn.php 以便为成功的事务插入数据库。
我的网站网址: http://anderson.000space.com/paypal_ipn/example-form.html
我已在我的 paypal 沙盒商家帐户中将 IPN 的通知网址指定为 http://anderson.000space.com/paypal_ipn/ipn.php。我在那里打印了一些值并在该页面中给出退出,但是从 paypal 的重定向不会转到 ipn.php。
I have downloaded the sample paypal IPN script using php and customised with the email for the buyout option and it has also some hidden paramaters such amount, quantity,return_url, notify_url like this.After the success payment in the sandbox url,it doesn't redirect to the ipn.php to make database insertion for successful transaction.
My site url: http://anderson.000space.com/paypal_ipn/example-form.html
I have given the notify url for IPN in my paypal sandbox merchant account as http://anderson.000space.com/paypal_ipn/ipn.php. I have printed some values there and given exit in that page, but the redirection from paypal is not going to ipn.php.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IPN 不是重定向页面。 “return”控制他们重定向回哪个页面,“notify_url”(IPN) 是从 PayPal 接收带有交易信息的 POST 的脚本。
IPN is not the redirection page. "return" controls which page they're redirected back to, "notify_url" (IPN) is the script that receives a POST from PayPal with transaction information.