Yes I am seeing this in production as well as in sandbox. I saw this code too, but was confused because when I am not logged in as a store user the customer field in the cart is NULL. Should it record a customer regardless of whether or not that customer is logged in as a user?
Thanks, Todd On Jul 29, 8:52 pm, Chris Moffitt <[email protected]> wrote: > Are you seeing this in the production or sandbox environment. It is supposed > to clear out the cart regardless of whether the user logs in or not. I > believe several people have noted that the sandbox is not reliable and that > production works for them. > > The relevant code is: > for cart in Cart.objects.filter(customer=order.contact): > cart.empty() > which is looking for the contact which does not have to be a logged in user. > > -Chris > > > > On Thu, Jul 29, 2010 at 2:31 PM, twjackson <[email protected]> wrote: > > It seems that in order to clear the shopping cart, after a Paypal > > purchase, the cart will only clear when the cart belongs to a user > > logged in to the satchmo store site. Am I right? > > > -- > > 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.
