Example #1
0
    req [f[1]] = ''
  
  for f in paylist:
    req [f[1]] = ''
  
  req ['password'] = '******'
  req ['password2'] = 'wefvwefvwevwef'
  req ['ccnum'] = '4128 130 446 045 '
  req ['shipmeth'] = "('next day', '85')"
  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)