So I'm guessing CACHE_TIMEOUT is in seconds, right? On Thu, Apr 30, 2009 at 5:53 PM, Bruce Kroeze <[email protected]> wrote:
> On Thu, Apr 30, 2009 at 2:50 PM, Bob Waycott <[email protected]> wrote: > >> Ah ... I've got it now. >> I had a CACHE_TIMEOUT of 0 >> > > Right, CACHE_TIMEOUT of 0 will disable the cache system. > > In production, I usually use 30 minutes. Satchmo is really good at caching > and invalidation. With Auth.net, you need to make sure to give it long > enough for the customer to complete the transaction before the encrypted CC# > gets expired from cache. > > >> >> Bruce, any recommendation on what a good CACHE_TIMEOUT value would be for >> a production store? >> >> >> On Thu, Apr 30, 2009 at 5:24 PM, Bob Waycott <[email protected]>wrote: >> >>> Using db cache with no timeout set currently. >>> Have tried locmem as well, still get no x_card_num & x_card_code >>> >>> What's weird is I can see the last 4 of the card in the data dict ... but >>> it's not in data['postString'] >>> >>> >>> >>> On Thu, Apr 30, 2009 at 5:01 PM, Bruce Kroeze <[email protected]> wrote: >>> >>>> On Thu, Apr 30, 2009 at 1:27 PM, Bob Waycott <[email protected]>wrote: >>>> >>>>> To anyone who might be able to help ... >>>>> I've rebuilt my local copy of Satchmo, adding some print statements in >>>>> the Authorize.net processor where it makes the post to Authorize.net ... I >>>>> have my local dev version of the site set to be live all the way, >>>>> accepting >>>>> real payments and everything. >>>>> >>>>> Here's what the print statement on data['postString'] in processor.py >>>>> is giving me: >>>>> >>>>> >>>>> >>>>> x_login=SECRET&x_method=CC&x_type=AUTH_CAPTURE&x_tran_key=SECRET&x_version=3.1&x_delim_char=%7C&x_test_request=FALSE&x_relay_response=FALSE&x_delim_data=TRUE&x_exp_date=5%2F2012&x_card_num=&x_amount=10.93&x_card_code=&x_invoice_num=63&x_last_name=Admin&x_zip=37408&x_phone=4238226850&x_city=CHATTANOOGA&x_country=US&x_state=Tennessee&x_first_name=Bob&x_address=50+E+MAIN+ST&x_email=bobwaycott% >>>>> 40gmail.com >>>>> >>>>> >>>>> So ... x_card_num & x_card_code are BLANK. >>>>> >>>>> Anyone have an idea on what gives here? >>>>> >>>> >>>> It could be that the cache is losing your data. What is your cache? >>>> >>>> >>>> >>> >> >> >> > > > -- > Bruce Kroeze > http://solidsitesolutions.com > Dynamic Designs, Optimized > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
