我遇到的问题是我的notify_url参数被paypal错误地解释了。它基本上将“http://”改为“http:/”
这是我的代码,c#.net
string payPalParams = "";
payPalParams = "&cmd=_xclick";
payPalParams += "&business=xxx@example.com";
payPalParams += "&item_name=xxx";
payPalParams += "&item_number=xxx";
payPalParams += "¤cy_code=GBP";
payPalParams += "&amount=0.01";
payPalParams += "¬ify_url=http://example.com/IPN/UpdateTheDB";
payPalParams += "&cancel_return=http://example.com/cancel";
payPalParams += "&return=http://example.com/thankyou";
Response.Redirect("https://www.paypal.com/cgi-bin/webscr" + payPalParams);
我在调试下检查了我发送的内容是否正确,当我查看paypal IPN历史记录页面时,通知网址缺少斜线,因此失败。见下文。
Message ID 5J8852596V365361T
Date/time created 05/12/2015 23:55 GMT
Original/Resent Original
Latest delivery attempt date/time 06/12/2015 00:16 GMT
Notification URL **http:/example.com/IPN/UpdateTheDB**
HTTP response code
Delivery status Retrying
No. of retries 8
Transaction ID 1VB33352R5501751J
IPN type Transaction made
有没有人看到这个问题。