I tried the @csrf_exempt solution last week but it didn't work so now
I'm just lost.Could you tell me how to run that same curl check? I
feel like I'm doing something wrong.

Thanks

-Alex

On Aug 22, 3:00 pm, davecap <[email protected]> wrote:
> Wow thanks guys... I just had the same problem! It works now after
> adding the @csrf_exempt.
>
> I have a related problem which is that I am using IPN, but when the
> user clicks on the link in PayPal (after payment) to return to the
> shop, the shop says the order has already been processed when it
> should be showing a receipt. I am using the 'satchmo_checkout-success'
> return url (sent to paypal from the satchmo confirm page as
> notify_url). Basically becomes: <my domain>/shop/checkout/paypal/
> success/?<paypal get parameters>
>
> Any ideas?
>
> Thanks again!
> - David
>
> On Aug 21, 11:16 pm, Chris Moffitt <[email protected]> wrote:
>
>
>
> > Ahh. That makes sense. I've checked in your change. I think in this
> > scenario, CSRF exempt is required and will solve this issue.
>
> > Thanks,
> > Chris
>
> > On Sat, Aug 21, 2010 at 4:03 PM, Dinh <[email protected]> wrote:
> > > Hi,
>
> > > I encountered the same problem and after a curl check discovered it
> > > was related to the CSRF Middleware.
> > > I just added a ticket on bitbucket but the direct answer is:
>
> > > 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):
> > > .
> > > .
>
> > > Cheers!
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Satchmo users" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<satchmo-users%2bunsubscr...@goog
> > >  legroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/satchmo-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to