簡體   English   中英

PayPal沙箱中的通知URL

[英]Notification URL in PayPal Sandbox

我是PayPal Process的新手。 我在ASP.Net有一個測試訂閱頁面,該頁面重定向到PayPal Sandbox for Payment,在其中我具有PayPal商業帳戶,該帳戶具有在Instant Payment Notification (IPN) 消息 Instant Payment Notification (IPN)指定的URL ,並且啟用消息傳遞功能,但是在用戶同意並支付相應金額后,頁面未重定向到notify_url

我的貝寶處理頁面網站,

<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的所有設置,但是不起作用

好的,有人指出了我在設置中缺少的內容或出現了錯誤。

您已將notify_url與返回URL(變量: return )混淆了。 您可能希望使用的是PayPal個人資料中“ 網站偏好設置”部分下的“ 自動重播”功能。

此外,在您的訂閱按鈕代碼中,您可以放入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