IPN stimulator returns error 'IPN Delivery Failed:500 INTERNAL SERVER ERROR'?

3.4k Views Asked by At

I am trying to integrate paypal to my website.

so i downloaded dcramer django paypal from github. unzipped and pasted the paypal folder in my project directory. i added INSTALLED_APPS = (... 'paypal.standard.ipn', ...) and RECEIVER_EMAIL = '[email protected]' to settings.py.

and (r'^paypal/notify/', include('paypal.standard.ipn.urls')), to my urls.py

i hosted it in amazon aws.

i tried to stimulate ipns at paypal ipn simulator.

I entered the IPN handler URL as http://<mysite address>/paypal/notify/ and when i clicked the send ipn button i got error:

ipn error

1

There are 1 best solutions below

0
On BEST ANSWER

Solved the Problem. Need '/' at the end of IPN Handler URL

if you give IPN handler url

http://<url>/paypal/notify 

it will return 500: error.

But if you give

http://<url>/paypal/notify/ 

it will works fine.