简体   繁体   English

PayPal沙箱中的通知URL

[英]Notification URL in PayPal Sandbox

I am new to PayPal Process. 我是PayPal Process的新手。 I have a testing Subscription Page in ASP.Net which redirects to PayPal Sandbox for Payment in which I have PayPal business account with Notification URL specified in Instant Payment Notification (IPN) with Message delivery Enabled but after the user Agree and Pay the respective amount the page is not been redirected to the notify_url 我在ASP.Net有一个测试订阅页面,该页面重定向到PayPal Sandbox for Payment,在其中我具有PayPal商业帐户,该帐户具有在Instant Payment Notification (IPN) 消息 Instant Payment Notification (IPN)指定的URL ,并且启用消息传递功能,但是在用户同意并支付相应金额后,页面未重定向到notify_url

My PayPal Processing page sites, 我的贝宝处理页面网站,

<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" />

I had checked all the settings in PayPal that redirects to the notify_url but its not working 我已经检查了PayPal中重定向到notify_url的所有设置,但是不起作用

Kindly anyone point me what I am missing in the settings or going wrong. 好的,有人指出了我在设置中缺少的内容或出现了错误。

You've confused notify_url with the return URL (variable: return ). 您已将notify_url与返回URL(变量: return )混淆了。 What you may want to trun on is the Auto Retrun feature under website preference section in your PayPal profile. 您可能希望使用的是PayPal个人资料中“ 网站偏好设置”部分下的“ 自动重播”功能。

Additionally, in your subscription button code, you may put in the return tag to override the URL that you setup in your profile. 此外,在您的订阅按钮代码中,您可以放入return标签以覆盖您在配置文件中设置的URL。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM