notify_url 不再有效 [英] notify_url no longer working

查看:30
本文介绍了notify_url 不再有效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这已经工作多年了,大约 6 周前,notify_url 不再被调用,我的表单/帖子代码如下所示:

This has been working for years then about 6 weeks ago or so the notify_url is no longer called, my form/post code looks like this:

<form id="payme" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="return" value="http://www.houdinistop.co.uk/Thanks.aspx" />
    <input type="hidden" name="notify_url" value="http://www.houdinistop.co.uk/Payment/Receive_PayPal.ashx" />

我在 ashx 页面上有一些代码,如果页面被点击,它会向我发送一封电子邮件,如果我在浏览器中转到 ashx 页面,我会收到电子邮件,但在进行贝宝交易后,它永远不会调用处理程序.

I have a bit of code on the ashx page which will send me an email if the page is hit, and if i go to the ashx page in my browser i get the email, but following a paypal transaction it never calls the handler.

它曾经工作,我没有做任何改变,现在它不起作用,所以我猜贝宝改变了一些东西,但我所有的谷歌搜索都找不到任何信息

It used to work and I made no changes and now it doesnt work so I'm guessing paypal changes something but all my Googling efforts cant find any info

推荐答案

在paypal的业务账户中做notify_url设置

Do notify_url setting in bussiness a/c of paypal

除了电子邮件通知之外,PayPal 还可以将交易数据(也称为即时付款通知)发送到特定网址.通过即时付款通知,PayPal 会向您收到的每笔付款的指定 URL 发送带有加密代码的付款通知消息.按照以下说明设置即时付款通知.

In addition to email notification, PayPal can send you the transaction data (also called Instant Payment Notification) to a specific url. With Instant Payment Notification, PayPal sends payment notification messages with encrypted code to the specified URL for each payment you receive. Follow the instructions below to setup Instant Payment Notification.

  1. 转到 PayPal 网站并登录您的帐户.
  2. 点击页面顶部的个人资料".
  3. 点击销售首选项"列中的即时付款通知首选项".
  4. 点击编辑 IPN 设置".
  5. 输入通知 URL 并选择接收 IPN 消息".

  1. Go to the PayPal website and log in to your account.
  2. Click "Profile" at the top of the page.
  3. Click "Instant Payment Notification Preferences" in the Selling Preferences column.
  4. Click "Edit IPN Settings."
  5. Enter the notification URL and select "Receive IPN messages."

示例:http://www.houdinistop.co.uk/Payment/Receive_PayPal.灰烬

点击保存".

这篇关于notify_url 不再有效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆