recommended branch?

12 views
Skip to first unread message

Tom von Schwerdtner

unread,
Oct 27, 2009, 12:28:23 PM10/27/09
to django-paypal
I started with johnboxall and hit a snag with WPP which seemed to have
been resolved in mthornhill, but I notice that dcramer seems to have
the most-currently-hacked-on code...

Is there a recommended branch or should I just use what seems to work?

-Tom

Steve Jalim

unread,
Oct 27, 2009, 12:30:35 PM10/27/09
to django...@googlegroups.com
Hi Tom 
What was your snag with WPP? I've had no problems with it so far -- which makes me want to check I've not got something painful waiting for me behind a tree, etc

S

2009/10/27 Tom von Schwerdtner <tom...@gmail.com>



--

Steve Jalim
www.stevejalim.co.uk
07740 819 849

Tom von Schwerdtner

unread,
Oct 27, 2009, 2:14:20 PM10/27/09
to django-paypal
On Oct 27, 12:30 pm, Steve Jalim <steveja...@gmail.com> wrote:
> Hi Tom
> What was your snag with WPP? I've had no problems with it so far -- which
> makes me want to check I've not got something painful waiting for me behind
> a tree, etc

Well, I wasn't exactly thorough in my testing, but I hit this
traceback:

===========================================================

Traceback:
File "/Users/tvon/Development/earthtreasures/vendor/django/core/
handlers/base.py" in get_response
92. response = callback(request, *callback_args,
**callback_kwargs)
File "/Users/tvon/Development/earthtreasures/apps/etj/orders/views.py"
in buy
88. return ppp(request)
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
views.py" in __call__
108. return self.validate_payment_form()
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
views.py" in validate_payment_form
139. if form.is_valid():
File "/Users/tvon/Development/earthtreasures/vendor/django/forms/
forms.py" in is_valid
120. return self.is_bound and not bool(self.errors)
File "/Users/tvon/Development/earthtreasures/vendor/django/forms/
forms.py" in _get_errors
111. self.full_clean()
File "/Users/tvon/Development/earthtreasures/vendor/django/forms/
forms.py" in full_clean
240. value = field.clean(value)
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
fields.py" in clean
21. self.card_type = verify_credit_card(value)
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
creditcard.py" in verify_credit_card
30. return CreditCard(number).verify()
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
creditcard.py" in verify
64. if self.is_number() and not self.is_test() and
self.is_mod10():
File "/Users/tvon/Development/earthtreasures/vendor/paypal/pro/
creditcard.py" in is_number
38. self.number = re.sub(r'[^\d]', '', self.number)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/re.py" in sub
150. return _compile(pattern, 0).sub(repl, string, count)

Exception Type: TypeError at /shop/cart/order/buy/
Exception Value: expected string or buffer

===========================================================

On a whim I updated to another github fork and it got past this error,
so I started wondering what the most official and/or current and/or
working branch was...

I could certainly just be doing something wrong though.

-Tom
Reply all
Reply to author
Forward
0 new messages