That was a good suggestion, but it didn't work. I looked at payment.models.CreditCardDetail, which is what actually sets and retrieves the cached card number, and I'm kinda stuck. I haven't dug this deep into the payment module before, so I was surprised to find that it uses a library called django-keyedcache. Can anyone explain why satchmo doesn't just use django.core.cache?
On Friday, March 29, 2013 9:47:10 AM UTC-4, Mike Hostetler wrote: > > I'm away from my serves now so I can't tell you exactly how to fix this, > but I did run into it. I think you also have to configure cache the "old > way" for Satchmo to pick it up. Look at the Django 1.2 docs on caching. > > Let me know if it works. If not, I'll look at my setup when I get a chance > to get to my server. > On Mar 28, 2013 9:11 PM, "Rob Speed" <[email protected] <javascript:>> > wrote: > >> Adding a bit more info. >> >> Satchmo: 0.9.2 >> Django: 1.4.5 >> Python: 2.7.3 >> python-memcached: 1.48 >> >> Here's my test to make sure the cache is working: >> >> $ manage.py shell >>> >>> from django.core.cache import cache >>> >>> from time import sleep >>> >>> def test(): >>> ... cache.set('does_this_work', 'Yes it does!') >>> ... sleep(60 * 4) >>> ... print(cache.get('does_this_work')) >>> ... >>> >>> test() >> >> Yes it does! >>> >> >> My next step is to figure out what they key for the stored number is, >> then decrypting the value and seeing what happens. If that doesn't turn >> anything up I'll be completely lost. >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/satchmo-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- 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 http://groups.google.com/group/satchmo-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
