Hello all, I've searched a bit on these errors and there doesn't seem to be 
a solid answer. I'm using Python 2.6, Satcho 0.9-pre.

I've added 'payment.modules.paypal' to settings.py, sync'd the DB, and 
restarted the server. I've enabled PayPal in the Payment settings, and left 
everything default except my PayPal email, checked "Accept real payments", 
and set it to use SSL.

When I click checkout I get PayPal as an option, but continuing on gave me 
this error:

Traceback (most recent call last):

 File "/home/seemore/webapps/djcode/ 
lib/python2.5/django/core/handlers/base.py", line 92, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

  File 
"/home/seemore/webapps/djcode/lib/python2.5/django/views/decorators/cache.py", 
line 44, in _wrapped_view_func
   response = view_func(request, *args, **kwargs)

  File "/home/seemore/lib/python2.5/Satchmo-0.9_pre-py2.5.egg/
payment/modules/paypal/views.py", line 31, in pay_ship_info
   'shop/checkout/paypal/pay_ship.html')

  File 
"/home/seemore/lib/python2.5/Satchmo-0.9_pre-py2.5.egg/payment/views/payship.py",
 
line 132, in base_pay_ship_info
   results = form_handler(request, contact, working_cart, payment_module)

  File 
"/home/seemore/lib/python2.5/Satchmo-0.9_pre-py2.5.egg/payment/views/payship.py",
 
line 91, in simple_pay_ship_process_form
   if config_value('PAYMENT','USE_DISCOUNTS') or not form.shipping_hidden:

AttributeError: 'SimplePayShipForm' object has no attribute 
'shipping_hidden' 

So i checked my version of satchmo/apps/payment/forms.py and noticed that 
there's no mention of 'shipping_hidden' anywhere. Looking at newer version 
of that file it looks to be there, so I added "self.shipping_hidden = False" 
in the __init__function of that file (line 180). Any comments on the wisdom 
of that move appreciated :)

Now, I'm getting a different error, which seems to be more common with 
payment modules:

Traceback (most recent call last):

 File "/home/seemore/webapps/djcode/ 
lib/python2.5/django/core/handlers/base.py", line 92, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

  File 
"/home/seemore/lib/python2.5/Satchmo-0.9_pre-py2.5.egg/payment/decorators.py", 
line 28, in _checkorder
   return view_func(request, *args, **kwargs)

  File 
"/home/seemore/lib/python2.5/Satchmo-0.9_pre-py2.5.egg/payment/views/contact.py",
 
line 81, in contact_info
   url = lookup_url(paymentmodule, 'satchmo_checkout-step2')

  File 
"/home/seemore/lib/python2.5/Satchmo-0.9_pre-py2.5.egg/satchmo_utils/dynamic.py",
 
line 42, in lookup_url
   url = urlresolvers.reverse(name)

  File 
"/home/seemore/webapps/djcode/lib/python2.5/django/core/urlresolvers.py", 
line 265, in reverse
   *args, **kwargs)))

  File 
"/home/seemore/webapps/djcode/lib/python2.5/django/core/urlresolvers.py", 
line 254, in reverse
   "arguments '%s' not found." % (lookup_view, args, kwargs))

NoReverseMatch: Reverse for 'satchmo_checkout-step2' with arguments '()' and 
keyword arguments '{}' not found. 

Thanks in advance for looking at this.

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/satchmo-users/-/HJHhOALZsiMJ.
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.

Reply via email to