ramdaz
ramdaz

Reputation: 1791

IPN delivery failed. HTTP error code 403: Forbidden

I am trying to test IPN. Working with django-paypal. What could be wrong.

The URL is working. No errors otherwise...

But when I test this, it says IPN delivery failed and error code is 403,

Upvotes: 3

Views: 2546

Answers (2)

Niahouho
Niahouho

Reputation: 111

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.

Upvotes: 11

dar
dar

Reputation: 6530

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.

Upvotes: 1

Related Questions