Hi all,
For a while, I had authorize.net working perfectly. I have it set up
to only authorize at time of purchase and then capture when shipped.
Now, however, I'm getting a crash when I try to ship an order. It is
apparently having difficulty loading the payment processor. However, I
ran through some of the code manually in the shell, and it seemed to
work fine. Can anyone give me any tips for how to debug this further?
Full back trace below.
Thanks,
Matthew
Django Version: 1.2.4
Python Version: 2.6.5
Installed Applications:
['django.contrib.sites',
'satchmo_store.shop',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.comments',
'django.contrib.sessions',
'django.contrib.sitemaps',
'registration',
'sorl.thumbnail',
'keyedcache',
'livesettings',
'l10n',
'satchmo_utils.thumbnail',
'satchmo_store.contact',
'tax',
'tax_exempt',
'shipping',
'product',
'product.modules.configurable',
'product.modules.downloadable',
'product.modules.subscription',
'product.modules.custom',
'payment',
'payment.modules.authorizenet',
'satchmo_ext.satchmo_toolbar',
'satchmo_ext.tieredpricing',
'satchmo_utils',
'app_plugins',
'tinymce',
'helper',
'south',
'blog',
'tagging',
'photos',
'videologue']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'threaded_multihost.middleware.ThreadLocalMiddleware',
'satchmo_store.shop.SSLMiddleware.SSLRedirect',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/core/handlers/base.py"
in get_response
100. response = callback(request,
*callback_args, **callback_kwargs)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/contrib/admin/options.py"
in wrapper
265. return self.admin_site.admin_view(view)(*args, **kwargs)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/utils/decorators.py"
in _wrapped_view
76. response = view_func(request, *args, **kwargs)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/views/decorators/cache.py"
in _wrapped_view_func
78. response = view_func(request, *args, **kwargs)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/contrib/admin/sites.py"
in inner
190. return view(request, *args, **kwargs)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/utils/decorators.py"
in _wrapper
21. return decorator(bound_func)(*args, **kwargs)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/utils/decorators.py"
in _wrapped_view
76. response = view_func(request, *args, **kwargs)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/utils/decorators.py"
in bound_func
17. return func(self, *args2, **kwargs2)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/db/transaction.py"
in _commit_on_success
299. res = func(*args, **kw)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/contrib/admin/options.py"
in change_view
924. self.save_formset(request, form, formset,
change=True)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/contrib/admin/options.py"
in save_formset
629. formset.save()
File "/var/websites/uss/venv/lib/python2.6/site-packages/django/forms/models.py"
in save
491. return self.save_existing_objects(commit) +
self.save_new_objects(commit)
File "/var/websites/uss/venv/lib/python2.6/site-packages/django/forms/models.py"
in save_new_objects
628. self.new_objects.append(self.save_new(form, commit=commit))
File "/var/websites/uss/venv/lib/python2.6/site-packages/django/forms/models.py"
in save_new
740. obj.save()
File "/var/websites/uss/satchmo/apps/satchmo_store/shop/models.py" in save
1222. self.order.update_status(self.status)
File "/var/websites/uss/satchmo/apps/satchmo_store/shop/models.py" in
update_status
1079. signals.satchmo_order_status_changed.send(self,
oldstatus=oldstatus, newstatus=status, order=self)
File
"/var/websites/uss/venv/lib/python2.6/site-packages/django/dispatch/dispatcher.py"
in send
172. response = receiver(signal=self, sender=sender, **named)
File "/var/websites/uss/satchmo/apps/payment/listeners.py" in
capture_on_ship_listener
34. capture_authorizations(order)
File "/var/websites/uss/satchmo/apps/payment/utils.py" in capture_authorizations
14. processor = get_processor_by_key('PAYMENT_%s' % authz.payment)
File "/var/websites/uss/satchmo/apps/payment/utils.py" in get_processor_by_key
55. processor_module = payment_module.MODULE.load_module('processor')
Exception Type: AttributeError at /admin/shop/order/36/
Exception Value: 'NoneType' object has no attribute 'MODULE'
--
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.