Duplicate Keyword Error on credit/checkout page

Issue #756 resolved
Jason Christa
created an issue

I am using authorize.net and get this error, duplicate keyword argument (processor.py, line 333), on the credit/checkout page.

Here is the Traceback: File "/var/www/next_django/apps/django/core/handlers/base.py" in get_response 86. response = callback(request, callback_args, callback_kwargs) File "/var/www/next_django/apps/django/views/decorators/cache.py" in _wrapped_view_func 44. response = view_func(request, *args, kwargs) File "/var/www/next_django/apps/satchmo/apps/payment/modules/authorizenet/views.py" in pay_ship_info 6. return payship.credit_pay_ship_info(request, config_get_group('PAYMENT_AUTHORIZENET')) File "/var/www/next_django/apps/satchmo/apps/payment/views/payship.py" in credit_pay_ship_info 141. return base_pay_ship_info(request, payment_module, credit_pay_ship_process_form, template) File "/var/www/next_django/apps/satchmo/apps/payment/views/payship.py" in base_pay_ship_info 132. results = form_handler(request, contact, working_cart, payment_module) File "/var/www/next_django/apps/satchmo/apps/payment/views/payship.py" in credit_pay_ship_process_form 79. form = _get_form(request, payment_module, args, **kwargs) File "/var/www/next_django/apps/satchmo/apps/payment/views/payship.py" in _get_form 56. processor = payment_module.MODULE.load_module('processor') File "/var/www/next_django/apps/satchmo/apps/livesettings/values.py" in load_module 582. return load_module("%s.%s" % (value, module)) File "/var/www/next_django/apps/satchmo/apps/satchmo_utils/init.py" in load_module 113. import(module)

Exception Type: SyntaxError at /checkout/credit/ Exception Value: duplicate keyword argument (processor.py, line 333)

Comments (4)

  1. Jason Christa reporter

    Confirmed the obvious solution to the problem is to remove the mistype of line 333 of the authorize.net processor.py where the payment keyword is listed twice.

  2. Log in to comment