2015-04-07 93 views
0

我在PayPal沙盒按鈕中創建了一個遞歸付款按鈕。但在付款後從PayPal付款返回測試帳戶時,IPN響應未返回。在登錄IPN歷史記錄時,它顯示IPN消息已生成。PayPal Sandbox中沒有獲得對監聽器的IPN響應

ipn_POST_data在偵聽器中爲null。

簡單的訂閱按鈕也一樣。

回答

0

我得到的答案

,我們需要通過默認變量「RM」設置爲2

<input type="hidden" name="rm" value="2"> 

0 – all shopping cart payments use the GET method 
1 – the buyer's browser is redirected to the return URL by using the GET method, but no payment variables are included 
2 – the buyer's browser is redirected to the return URL by using the POST method, and all payment variables are included 

的Rm值爲0

謝謝...