Nope didn't work. Empty Carts are happening again... On Wed, Mar 7, 2018 at 9:53 AM, Mike Hostetler <[email protected]> wrote:
> Because of the "curiosity" of Satchmo storing checkout information in > cache, I tossed out memcache long ago and use db cache, so that is not > volatile. But that was something that I thought of. > > I looked how the CartManager worked (because that is what the system is > using to get the cart from the session) and if the cart isn't in the > session, it tries to load the cart from the db via the customer. So I > change the code to always persist the cart when the user is on "/cart". > I've only tried it this morning but I haven't been able to reproduce it > since. > > So Fingers crossed... but any insights would be valuable. > > > > On Wed, Mar 7, 2018 at 9:37 AM, Daniel Purcell <[email protected]> > wrote: > >> Hi Mike, >> >> I haven't seen this happen before. Could it be something to do with your >> cache backend being a little too voliatle? What is your cache backend? >> >> On Wed, Mar 7, 2018 at 7:29 AM, <[email protected]> wrote: >> >>> [email protected] >>> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/satchmo-users/topics> >>> Google >>> Groups >>> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> >>> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> >>> Topic digest >>> View all topics >>> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/satchmo-users/topics> >>> >>> - Session is forgetting? >>> >>> <#m_-8837939718053397445_m_8780811162015218266_m_4413988285660307939_group_thread_0> >>> - 1 Update >>> >>> Session is forgetting? >>> <http://groups.google.com/group/satchmo-users/t/cba58aa83ce62de4?utm_source=digest&utm_medium=email> >>> Mike Hostetler <[email protected]>: Mar 06 04:42PM -0600 >>> >>> Not sure if anyone is still on this list but I'll give it a shot... >>> >>> I still have a customer on Satchmo (they haven't been willing to pay for >>> a >>> rewrite to something else). Naturally they have had problems with old TLS >>> on their payments provider. I moved them to ActivePython 2.6 and the >>> gunicorn server that comes with it. That has TLS 1.2 and works >>> beautifully. >>> >>> But one in a while, a customer will look at his cart, hit the checkout >>> button, and step 1 of checkout says "your cart is empty" and it's only >>> obviously not. Restarting gunicorn fixes it. >>> >>> I looked at the code and it stores the cart in the user session and in >>> step >>> 1 gets it back out. So it seems to lose it. >>> >>> Anyone see this before (with or without Satchmo)? Is something with >>> gunicorn causing it to fall out? >>> Back to top >>> <#m_-8837939718053397445_m_8780811162015218266_m_4413988285660307939_digest_top> >>> You received this digest because you're subscribed to updates for this >>> group. You can change your settings on the group membership page >>> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/satchmo-users/join> >>> . >>> To unsubscribe from this group and stop receiving emails from it send an >>> email to [email protected]. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Satchmo users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/satchmo-users. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mike Hostetler > SquarePeg Systems > http://www.squarepegsystems.com > -- Mike Hostetler SquarePeg Systems http://www.squarepegsystems.com -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/satchmo-users. For more options, visit https://groups.google.com/d/optout.
