Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPN delivery failed. HTTP error code 403: Forbidden

Tags:

django

paypal

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,

like image 899
ramdaz Avatar asked Feb 04 '26 18:02

ramdaz


1 Answers

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.

like image 118
Niahouho Avatar answered Feb 06 '26 15:02

Niahouho



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!