【问题标题】:Notification URL in PayPal SandboxPayPal 沙盒中的通知 URL
【发布时间】:2016-11-01 09:05:10
【问题描述】:

我是 PayPal 流程的新手。 我在ASP.Net 中有一个测试订阅页面,它重定向到PayPal Sandbox 进行付款,其中我有PayPal 商业帐户,在Instant Payment Notification (IPN) 中指定通知URL启用消息传递 但在用户同意并支付相应金额后,页面不会被重定向到 notify_url

我的 PayPal 处理页面网站,

<input name="return" type="hidden" id="Hidden1" value="@MyClass.Domain.Common.WebAppSettings.AspxOldUrl/Thanks.aspx" />
<input type="hidden" name="cancel_return" value="@MyClass.Domain.Common.WebAppSettings.AspxOldUrl/Cancellation.aspx" />
<input type="hidden" name="notify_url" value="@MyClass.Domain.Common.WebAppSettings.AspxOldUrl/ThankYou.aspx" />

我检查了 PayPal 中重定向到 notify_url 的所有设置,但它不起作用

请任何人指出我在设置中缺少什么或出错的地方。

【问题讨论】:

    标签: c# asp.net paypal paypal-sandbox


    【解决方案1】:

    您将 notify_url 与返回 URL(变量:return)混淆了。您可能想要启用的是 PayPal 个人资料中网站偏好部分下的Auto Retrun功能。

    此外,在您的订阅按钮代码中,您可以输入返回标签以覆盖您在个人资料中设置的 URL。

    <input type="hidden" name="return" value="https://bt-pduan-1.c9.io/"> 
    

    【讨论】:

    • @pp_pudan 我也试过自动返回功能,但也没有很好的锻炼
    猜你喜欢
    • 2020-02-16
    • 2011-12-16
    • 2012-06-23
    • 2014-08-24
    • 2015-09-27
    • 2013-06-26
    • 1970-01-01
    • 2016-11-17
    • 2015-01-04
    相关资源
    最近更新 更多