The tax module has been set to Country/Area in the settings and there
are rates in the tax rate table. One tax class has been created called
Default. After entering credit card info and submitting the form I
receive the following traceback. Even though the satchmo.log does show
that it found a rate. Any ideas where the problem may be?
Environment:
Request Method: POST
Request URL:
http://beta.littonsdirecttoyou.com/shop/checkout/dummy/
Django Version: 0.97-pre-SVN-unknown
Python Version: 2.5.1
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.comments',
'comment_utils',
'django.contrib.sessions',
'django.contrib.sitemaps',
'django.contrib.sites',
'django.contrib.flatpages',
'satchmo.caching',
'satchmo.configuration',
'satchmo.shop',
'satchmo.contact',
'satchmo.product',
'satchmo.shipping',
'satchmo.shipping.modules.ups',
'satchmo.payment',
'satchmo.discount',
'satchmo.giftcertificate',
'satchmo.supplier',
'satchmo.thumbnail',
'satchmo.l10n',
'satchmo.tax']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'satchmo.shop.SSLMiddleware.SSLRedirect',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py"
in get_response
82. response = callback(request, *callback_args,
**callback_kwargs)
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/
payment/modules/dummy/views.py" in pay_ship_info
9. return payship.credit_pay_ship_info(request, dummy)
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/
payment/common/views/payship.py" in credit_pay_ship_info
133. return base_pay_ship_info(request, payment_module,
credit_pay_ship_process_form, template)
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/
payment/common/views/payship.py" in base_pay_ship_info
124. results = form_handler(request, contact, working_cart,
payment_module)
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/
payment/common/views/payship.py" in credit_pay_ship_process_form
71. newOrder = get_or_create_order(request,
working_cart, contact, data)
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/
payment/common/views/payship.py" in get_or_create_order
32. shipping=data['shipping'],
discount=data['discount'])
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/
payment/common/pay_ship.py" in pay_ship_save
73. new_order.recalculate_total()
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/
contact/models.py" in recalculate_total
592. totaltax, taxrates = taxProcessor.process()
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/tax/
modules/area/tax.py" in process
188. ship = self.shipping()
File "/home/sites/
littonsdirecttoyou.com/www_beta/modules/satchmo/tax/
modules/area/tax.py" in shipping
136. tc = TaxClass.objects.get(title='Shipping')
File "/usr/lib/python2.5/site-packages/django/db/models/manager.py" in
get
69. return self.get_query_set().get(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/db/models/query.py" in
get
263. raise self.model.DoesNotExist, "%s matching query
does not exist." % self.model._meta.object_name
Exception Type: DoesNotExist at /shop/checkout/dummy/
Exception Value: TaxClass matching query does not exist.