500 Internal Server Error using sandbox

150 views
Skip to first unread message

Eduardo Robles Elvira

unread,
Nov 11, 2010, 2:23:19 PM11/11/10
to django-paypal
Hello everyone,

I'm new to django-paypal [1]. I'm trying to test the simplest way to
use paypal in my django project, following the README instructions.
I've added a Buy now button and seems to work (loads a correct paypal
payment web page which clicked). For testing, instead of calling to
form.render now I'm calling to form.sandbox. It generates a Buy Now
button too, but one that redirects to https://www.sandbox.paypal.com/cgi-bin/webscr
and gives me a "Internal Server Error" Error 500. Note that it first
takes a while, and after 10-20 seconds

I've read in some places that this might be because of csrf [2], but
I've tried to disabled csrf (and also doing the fix suggested in [2])
and still doesn't work. Any ideas?

Thanks in advance,
Eduardo RE
--
[1] https://github.com/johnboxall/django-paypal/
[2] http://komunitasweb.com/2010/08/using-django-paypal-in-django-1-2/

Josh Bohde

unread,
Nov 11, 2010, 5:56:44 PM11/11/10
to django-paypal
I just got this error as well. My logs indicate that it is actually
Paypal's server giving the 500 during the post back stage of IPN.
Maybe Paypal will resolve this issue in time?


On Nov 11, 1:23 pm, Eduardo Robles Elvira <edu...@gmail.com> wrote:
> Hello everyone,
>
> I'm new to django-paypal [1]. I'm trying to test the simplest way to
> use paypal in my django project, following the README instructions.
> I've added a Buy now button and seems to work (loads a correct paypal
> payment web page which clicked). For testing, instead of calling to
> form.render now I'm calling to form.sandbox. It generates a Buy Now
> button too, but one that redirects tohttps://www.sandbox.paypal.com/cgi-bin/webscr
Reply all
Reply to author
Forward
0 new messages