403 Error on Paypal IPN POST Requests

Create issue
Issue #1201 resolved
Former user created an issue

With the new CSRF Middleware the PayPal Website Payments module doesn't handle IPN posts properly.

An immediate solution is to add the @csrf_exempt decorator to the payments.modules.paypal.views.py file:

{{{ from django.views.decorators.csrf import csrf_exempt . . @csrf_exempt def ipn(request): . .

}}}

Comments (2)

  1. Log in to comment