Example #1
0
  req.ccyear = '2001'
  req.ccmonth = '2'
  req.paymeth = 'byccard'
  slf.REQUEST = req
  slf.session = {'checkout': {}, 'cart': {}}
  slf.aq_parent = slf
  slf.images = slf  # { 'pix' : '1-pixel transparent image', 'viewcart' : 'cart image' }
  slf.viewcart = 'image'
  slf.revieworder = 'image'

  def step (self):
    return 'step number'

  slf.step1 = step
  slf.step2 = step
  slf.step3 = step
  slf.checkout_faq = step
  
  shipinfo (slf)
  billinfo (slf)
  #persinfo (slf)
  payinfo (slf)
  ordinfo (slf)
  #orginfo (slf)
  pageinfo (slf)
  #ses = slf.session ['checkout']
  #print `ses`
  #print `req`
  #print join ( split (`globals()`, ','), '\n')