I am trying to test IPN. Working with django-paypal. What could be wrong.
The URL is working. No errors otherwise..开发者_JS百科.
But when I test this, it says IPN delivery failed and error code is 403,
Same problem on my site. Turns out that when telneting the server, I get the following details concerning the 403:
Forbidden (403)
CSRF verification failed. Request aborted.
Hooray, the csrf validation works ;D Now i gotta figure out how to turn it off for this particular form. Hope this hint helps anyone encountering the 403 when using django-paypal.
Do you have your website password protected? It sounds like paypal is getting a 403 response from your webserver. Make sure paypal can get to your website without requiring basic auth or something like that.
精彩评论