开发者

Asp.net MVC - paypal ipn

开发者 https://www.devze.com 2023-01-28 02:48 出处:网络
i a开发者_如何学Cm trying to integrate paypal sandox with my MVC project. I have enabled AutoReturn and ipn, i have disabled PDT.

i a开发者_如何学Cm trying to integrate paypal sandox with my MVC project. I have enabled AutoReturn and ipn, i have disabled PDT.

After payment is made, in the auto-return page, i get

Request.HttpMethod --> GET HttpContext.Request.ContentLength --> 0 Request.Form.Keys.Count --> 0

if i enable PDT also, i get the same result

can anyone please solve this


If I understand you correctly, you're saying that your AutoReturn is issuing a GET with no parameters. Isn't this as designed? The AutoReturn is simply a redirect for the user, and doesn't necessarily need to contain any form parameters.

The IPN is what should be issuing you a POST. The IPN and AutoReturn URLs are two different values -- are both set up in your PayPal Manager?

Perhaps you could post some of your PayPal Manager settings/screenshots?

0

精彩评论

暂无评论...
验证码 换一张
取 消