No - you need to host satchmo on a real web server.

localhost is a special term that refers to your computer.  when you make an
order via paypal, paypal needs to contact your store to let it know the
order was processed.   when your site is running on localhost, it's telling
paypal to send the response to 'localhost'.  But, as you can see, that
doesn't mean anything to paypal, as localhost means the local computer.

You need to set up a site with your satchmo url, and configure paypal to
send the message to your url on completion of orders (this may be
automatically done by satchmo I forget off hand).

So for instance, if your url was http://example.com, paypal would try and
send a message to http://example.com/payments/paypal/ipn.  in contrast, if
your site is running on http://localhost:8000/, then paypal would (i don't
think they actually try, as that would be kind of ridiculous) send a message
to http://localhost:8000/payments/paypal/ipn - which makes no sense.

On Tue, Dec 21, 2010 at 1:18 PM, jc <[email protected]> wrote:

> I'm still learning (a lot of this just me learning as well) so I don't
> totally understand everything that's going on, especially when not working
> on a dev server.
>
> *Regardless*, are you saying that I'd  need to go into my
> local_settings.py file and change something like this *LOCAL_DEV = True *to
> this? *LOCAL_DEV = False*? In order for PayPal to contact the Satchmo
> store?
>
> thanks, and I'll try and findd your other posts as well.
>
> j.
>
> --
> 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%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>



-- 
Brian O'Connor

-- 
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